#232A42

Closest named color: Space Cadet (#2B2D42). oklch(29% 0.045 271), rgb(35, 42, 66).

Aa

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

About this color

#232A42 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.045 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Space Cadet (#2B2D42), ΔE 0.018 away. White text reads best on it, at 14.17:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.045)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.48:1
White text14.17:1

Values

HEX#232A42
RGBrgb(35, 42, 66)
HSLhsl(226, 31%, 20%)
OKLCHoklch(29% 0.045 271)

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 #232A42 14.17:1 AAA Lc -103.8 Preferred for body text
Black text on #232A42 1.48:1 Fails Lc 0.0 Not readable
#232A42 text on white 14.17:1 AAA Lc 100.8 Preferred for body text
#232A42 text on black 1.48: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 950.

  1. Step 50

    50

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF5

    oklch(93.7% 0.015 270)

  3. Step 200

    200

    #D2D9ED

    oklch(88.6% 0.029 270.4)

  4. Step 300

    300

    #B4BFE4

    oklch(80.8% 0.054 272.1)

  5. Step 400

    400

    #8D9ED7

    oklch(70.8% 0.086 271.3)

  6. Step 500

    500

    #7185CC

    oklch(63.1% 0.11 271)

  7. Step 600

    600

    #5A6EB9

    oklch(55.7% 0.119 270.9)

  8. Step 700

    700

    #4A5B9F

    oklch(49% 0.111 271.2)

  9. Step 800

    800

    #3D4B81

    oklch(42.8% 0.091 271.1)

  10. Step 900

    900

    #343F67

    oklch(37.8% 0.07 271.1)

  11. Step 950

    950 (this color)

    #232A42

    oklch(29% 0.045 271)

Export this scale for Tailwind in the Tailwind colors tool

#232A42 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)#222C430.006
Deuteranopia (no green cones)#1F2A410.007
Tritanopia (no blue cones)#192F330.040
Achromatopsia (no color)#2B2B2B0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #232A42

    #232A42

    oklch(29% 0.045 271)

  • #342A0E

    #342A0E

    oklch(28.9% 0.045 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #232A42

    #232A42

    oklch(29% 0.045 271)

  • #152E40

    #152E40

    oklch(29% 0.045 241.9)

  • #2F263E

    #2F263E

    oklch(29% 0.044 300.9)

Open the analogous palette in the generator

Split complementary

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

  • #232A42

    #232A42

    oklch(29% 0.045 271)

  • #3C2613

    #3C2613

    oklch(29.1% 0.045 60.4)

  • #282F14

    #282F14

    oklch(29.1% 0.046 121.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #232A42

    #232A42

    oklch(29% 0.045 271)

  • #3F231D

    #3F231D

    oklch(29.1% 0.045 32.9)

  • #193220

    #193220

    oklch(29.1% 0.045 151.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #232A42

    #232A42

    oklch(29% 0.045 271)

  • #3E222A

    #3E222A

    oklch(29.2% 0.044 1.8)

  • #342A0E

    #342A0E

    oklch(28.9% 0.045 89.6)

  • #0B332D

    #0B332D

    oklch(29.2% 0.045 181.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #232A42 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.