#273F42

Closest named color: Onyx (#343A40). oklch(34.9% 0.03 205.8), rgb(39, 63, 66).

Aa

White text reads best on this color (11.19:1).

About this color

#273F42 is a dark, muted teal or cyan. In OKLCH its lightness is 35%, its chroma 0.030 and its hue 206°. Its hue sits on the cool side of the wheel. The nearest named color is Onyx (#343A40), ΔE 0.023 away. White text reads best on it, at 11.19:1.

Hue familyTeals and cyans
Lightnessdark (35%)
Chromamuted (0.030)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.87:1
White text11.19:1

Values

HEX#273F42
RGBrgb(39, 63, 66)
HSLhsl(187, 26%, 21%)
OKLCHoklch(34.9% 0.03 205.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #273F42 11.19:1 AAA Lc -99.6 Preferred for body text
Black text on #273F42 1.87:1 Fails Lc 8.1 Not readable
#273F42 text on white 11.19:1 AAA Lc 95.8 Preferred for body text
#273F42 text on black 1.87:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 900.

  1. Step 50

    50

    #F3F6F6

    oklch(97.1% 0.003 197.1)

  2. Step 100

    100

    #E5EBEC

    oklch(93.6% 0.007 208.8)

  3. Step 200

    200

    #D0DCDD

    oklch(88.6% 0.013 202.9)

  4. Step 300

    300

    #B1C5C8

    oklch(80.9% 0.022 207.6)

  5. Step 400

    400

    #87A7AC

    oklch(70.6% 0.036 208)

  6. Step 500

    500

    #689297

    oklch(63.1% 0.046 205.3)

  7. Step 600

    600

    #4F7C82

    oklch(55.6% 0.05 206.5)

  8. Step 700

    700

    #3F696E

    oklch(49.2% 0.047 205.4)

  9. Step 800

    800

    #355559

    oklch(42.6% 0.038 205.8)

  10. Step 900

    900 (this color)

    #273F42

    oklch(34.9% 0.03 205.8)

  11. Step 950

    950

    #1B292B

    oklch(26.9% 0.019 207.1)

Export this scale for Tailwind in the Tailwind colors tool

#273F42 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#3B3D420.029
Deuteranopia (no green cones)#373A420.027
Tritanopia (no blue cones)#1C41400.015
Achromatopsia (no color)#3B3B3B0.030

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #273F42

    #273F42

    oklch(34.9% 0.03 205.8)

  • #493432

    #493432

    oklch(34.8% 0.031 24.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #273F42

    #273F42

    oklch(34.9% 0.03 205.8)

  • #29403A

    #29403A

    oklch(35% 0.031 176.3)

  • #2B3D48

    #2B3D48

    oklch(34.9% 0.03 235.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #273F42

    #273F42

    oklch(34.9% 0.03 205.8)

  • #48343B

    #48343B

    oklch(35% 0.031 356)

  • #47362B

    #47362B

    oklch(34.8% 0.031 54.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #273F42

    #273F42

    oklch(34.9% 0.03 205.8)

  • #433543

    #433543

    oklch(35% 0.03 326.2)

  • #413928

    #413928

    oklch(34.8% 0.03 85.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #273F42

    #273F42

    oklch(34.9% 0.03 205.8)

  • #3B3749

    #3B3749

    oklch(34.8% 0.031 294.9)

  • #493432

    #493432

    oklch(34.8% 0.031 24.9)

  • #393C2A

    #393C2A

    oklch(34.8% 0.03 115.7)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #273F42, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #273F42 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.