#232A40

Closest named color: Space Cadet (#2B2D42). oklch(28.9% 0.042 270.1), rgb(35, 42, 64).

Aa

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

About this color

#232A40 is a dark, muted blue. In OKLCH its lightness is 29%, its chroma 0.042 and its hue 270°. 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.22:1.

Hue familyBlues
Lightnessdark (29%)
Chromamuted (0.042)
Temperaturecool
Nearest nameSpace Cadet (#2B2D42)
Black text1.47:1
White text14.22:1

Values

HEX#232A40
RGBrgb(35, 42, 64)
HSLhsl(226, 29%, 19%)
OKLCHoklch(28.9% 0.042 270.1)

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 #232A40 14.22:1 AAA Lc -103.9 Preferred for body text
Black text on #232A40 1.47:1 Fails Lc 0.0 Not readable
#232A40 text on white 14.22:1 AAA Lc 100.9 Preferred for body text
#232A40 text on black 1.47: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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D2D9EC

    oklch(88.6% 0.027 269.6)

  4. Step 300

    300

    #B4C0E1

    oklch(80.9% 0.049 269.5)

  5. Step 400

    400

    #8D9FD3

    oklch(70.8% 0.079 269.6)

  6. Step 500

    500

    #7286C7

    oklch(63.1% 0.101 270.3)

  7. Step 600

    600

    #5B6FB3

    oklch(55.6% 0.109 270.2)

  8. Step 700

    700

    #4A5C9A

    oklch(49% 0.102 270.1)

  9. Step 800

    800

    #3D4C7D

    oklch(42.7% 0.084 269.7)

  10. Step 900

    900

    #343F65

    oklch(37.6% 0.067 270.7)

  11. Step 950

    950 (this color)

    #232A40

    oklch(28.9% 0.042 270.1)

Export this scale for Tailwind in the Tailwind colors tool

#232A40 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)#232C410.007
Deuteranopia (no green cones)#202A3F0.005
Tritanopia (no blue cones)#1A2E320.036
Achromatopsia (no color)#2B2B2B0.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #232A40

    #232A40

    oklch(28.9% 0.042 270.1)

  • #332A11

    #332A11

    oklch(28.9% 0.041 89.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #232A40

    #232A40

    oklch(28.9% 0.042 270.1)

  • #162E3E

    #162E3E

    oklch(29% 0.042 239.6)

  • #2E263D

    #2E263D

    oklch(28.8% 0.042 299.7)

Open the analogous palette in the generator

Split complementary

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

  • #232A40

    #232A40

    oklch(28.9% 0.042 270.1)

  • #3A2615

    #3A2615

    oklch(28.9% 0.041 60.5)

  • #282E16

    #282E16

    oklch(28.8% 0.041 120.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #232A40

    #232A40

    oklch(28.9% 0.042 270.1)

  • #3D231F

    #3D231F

    oklch(28.9% 0.041 29.3)

  • #1B3120

    #1B3120

    oklch(28.9% 0.042 150.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #232A40

    #232A40

    oklch(28.9% 0.042 270.1)

  • #3C222A

    #3C222A

    oklch(28.9% 0.042 0.1)

  • #332A11

    #332A11

    oklch(28.9% 0.041 89.9)

  • #0F322C

    #0F322C

    oklch(29% 0.042 180.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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