#023952

Closest named color: Midnight Green (#073B4C). oklch(32.6% 0.068 235.4), rgb(2, 57, 82).

Aa

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

About this color

#023952 is a dark, muted blue. In OKLCH its lightness is 33%, its chroma 0.068 and its hue 235°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.015 away. White text reads best on it, at 12.28:1.

Hue familyBlues
Lightnessdark (33%)
Chromamuted (0.068)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.70:1
White text12.28:1

Values

HEX#023952
RGBrgb(2, 57, 82)
HSLhsl(199, 95%, 16%)
OKLCHoklch(32.6% 0.068 235.4)

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 #023952 12.28:1 AAA Lc -101.1 Preferred for body text
Black text on #023952 1.70:1 Fails Lc 0.0 Not readable
#023952 text on white 12.28:1 AAA Lc 97.6 Preferred for body text
#023952 text on black 1.70: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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDEA

    oklch(88.6% 0.029 234.9)

  4. Step 300

    300

    #A2C7DD

    oklch(81% 0.05 234.3)

  5. Step 400

    400

    #6CA9CD

    oklch(70.7% 0.082 235.5)

  6. Step 500

    500

    #4093C0

    oklch(63.1% 0.105 235.6)

  7. Step 600

    600

    #137CAC

    oklch(55.5% 0.114 235.7)

  8. Step 700

    700

    #006993

    oklch(49.2% 0.104 234.9)

  9. Step 800

    800

    #095678

    oklch(42.8% 0.087 235)

  10. Step 900

    900 (this color)

    #023952

    oklch(32.6% 0.068 235.4)

  11. Step 950

    950

    #0E2A39

    oklch(27.1% 0.044 235)

Export this scale for Tailwind in the Tailwind colors tool

#023952 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)#2D39530.041
Deuteranopia (no green cones)#2232520.032
Tritanopia (no blue cones)#0040420.043
Achromatopsia (no color)#3535350.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #023952

    #023952

    oklch(32.6% 0.068 235.4)

  • #4E2A0C

    #4E2A0C

    oklch(32.6% 0.068 56.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #023952

    #023952

    oklch(32.6% 0.068 235.4)

  • #003C42

    #003C42

    oklch(32.5% 0.056 205.9)

  • #233357

    #233357

    oklch(32.6% 0.068 264.8)

Open the analogous palette in the generator

Split complementary

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

  • #023952

    #023952

    oklch(32.6% 0.068 235.4)

  • #522522

    #522522

    oklch(32.6% 0.068 25.4)

  • #443100

    #443100

    oklch(32.6% 0.067 84.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #023952

    #023952

    oklch(32.6% 0.068 235.4)

  • #4F2436

    #4F2436

    oklch(32.6% 0.069 355.2)

  • #333807

    #333807

    oklch(32.5% 0.068 115.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #023952

    #023952

    oklch(32.6% 0.068 235.4)

  • #462747

    #462747

    oklch(32.6% 0.068 325.9)

  • #4E2A0C

    #4E2A0C

    oklch(32.6% 0.068 56.5)

  • #1B3D1D

    #1B3D1D

    oklch(32.5% 0.068 145)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #023952 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.