#233F42

Closest named color: Onyx (#343A40). oklch(34.7% 0.034 204.5), rgb(35, 63, 66).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessdark (35%)
Chromamuted (0.034)
Temperaturecool
Nearest nameOnyx (#343A40)
Black text1.86:1
White text11.28:1

Values

HEX#233F42
RGBrgb(35, 63, 66)
HSLhsl(186, 31%, 20%)
OKLCHoklch(34.7% 0.034 204.5)

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 #233F42 11.28:1 AAA Lc -99.7 Preferred for body text
Black text on #233F42 1.86:1 Fails Lc 7.9 Not readable
#233F42 text on white 11.28:1 AAA Lc 96.0 Preferred for body text
#233F42 text on black 1.86: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

    #E4EBEC

    oklch(93.5% 0.008 207.1)

  3. Step 200

    200

    #CFDCDD

    oklch(88.5% 0.014 202.4)

  4. Step 300

    300

    #AEC6C8

    oklch(80.9% 0.026 202.8)

  5. Step 400

    400

    #83A8AD

    oklch(70.6% 0.041 206.5)

  6. Step 500

    500

    #639398

    oklch(63.1% 0.052 204.2)

  7. Step 600

    600

    #487D83

    oklch(55.5% 0.057 205)

  8. Step 700

    700

    #396A6F

    oklch(49.2% 0.054 204.1)

  9. Step 800

    800

    #30565A

    oklch(42.7% 0.044 204.3)

  10. Step 900

    900 (this color)

    #233F42

    oklch(34.7% 0.034 204.5)

  11. Step 950

    950

    #1A2A2B

    oklch(27.1% 0.021 200.9)

Export this scale for Tailwind in the Tailwind colors tool

#233F42 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.034
Deuteranopia (no green cones)#3639420.032
Tritanopia (no blue cones)#1541400.016
Achromatopsia (no color)#3B3B3B0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #233F42

    #233F42

    oklch(34.7% 0.034 204.5)

  • #4A3331

    #4A3331

    oklch(34.7% 0.034 24.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #233F42

    #233F42

    oklch(34.7% 0.034 204.5)

  • #264038

    #264038

    oklch(34.8% 0.035 172.7)

  • #283D49

    #283D49

    oklch(34.8% 0.034 234.1)

Open the analogous palette in the generator

Split complementary

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

  • #233F42

    #233F42

    oklch(34.7% 0.034 204.5)

  • #48323B

    #48323B

    oklch(34.6% 0.035 352.8)

  • #483529

    #483529

    oklch(34.7% 0.034 53.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #233F42

    #233F42

    oklch(34.7% 0.034 204.5)

  • #433444

    #433444

    oklch(34.8% 0.034 324.3)

  • #423825

    #423825

    oklch(34.6% 0.034 83.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #233F42

    #233F42

    oklch(34.7% 0.034 204.5)

  • #3B364A

    #3B364A

    oklch(34.6% 0.035 296)

  • #4A3331

    #4A3331

    oklch(34.7% 0.034 24.5)

  • #393C27

    #393C27

    oklch(34.7% 0.035 114.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #233F42 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.