#023F5B

Closest named color: Midnight Green (#073B4C). oklch(34.8% 0.074 236.2), rgb(2, 63, 91).

Aa

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

About this color

#023F5B is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.074 and its hue 236°. Its hue sits on the cool side of the wheel. The nearest named color is Midnight Green (#073B4C), ΔE 0.027 away. White text reads best on it, at 11.26:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.86:1
White text11.26:1

Values

HEX#023F5B
RGBrgb(2, 63, 91)
HSLhsl(199, 96%, 18%)
OKLCHoklch(34.8% 0.074 236.2)

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 #023F5B 11.26:1 AAA Lc -99.4 Preferred for body text
Black text on #023F5B 1.86:1 Fails Lc 8.3 Not readable
#023F5B text on white 11.26:1 AAA Lc 95.5 Preferred for body text
#023F5B 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E0ECF3

    oklch(93.6% 0.016 233)

  3. Step 200

    200

    #C7DDEB

    oklch(88.6% 0.03 235.7)

  4. Step 300

    300

    #9FC7E0

    oklch(80.9% 0.055 235.8)

  5. Step 400

    400

    #68A9D1

    oklch(70.7% 0.089 236.9)

  6. Step 500

    500

    #3793C5

    oklch(63.1% 0.114 236.6)

  7. Step 600

    600

    #007CB0

    oklch(55.5% 0.121 236.7)

  8. Step 700

    700

    #006894

    oklch(49% 0.106 236.4)

  9. Step 800

    800

    #00567A

    oklch(42.8% 0.091 235.4)

  10. Step 900

    900 (this color)

    #023F5B

    oklch(34.8% 0.074 236.2)

  11. Step 950

    950

    #0B2A3A

    oklch(27.1% 0.047 234.9)

Export this scale for Tailwind in the Tailwind colors tool

#023F5B 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)#313F5C0.042
Deuteranopia (no green cones)#26375B0.035
Tritanopia (no blue cones)#0046490.045
Achromatopsia (no color)#3B3B3B0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #023F5B

    #023F5B

    oklch(34.8% 0.074 236.2)

  • #562E0D

    #562E0D

    oklch(34.7% 0.074 55.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #023F5B

    #023F5B

    oklch(34.8% 0.074 236.2)

  • #004349

    #004349

    oklch(34.9% 0.06 204.9)

  • #283860

    #283860

    oklch(34.8% 0.073 266.2)

Open the analogous palette in the generator

Split complementary

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

  • #023F5B

    #023F5B

    oklch(34.8% 0.074 236.2)

  • #5A2925

    #5A2925

    oklch(34.7% 0.073 26.3)

  • #4A3700

    #4A3700

    oklch(34.8% 0.071 87)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #023F5B

    #023F5B

    oklch(34.8% 0.074 236.2)

  • #57283B

    #57283B

    oklch(34.8% 0.073 356.1)

  • #383E08

    #383E08

    oklch(34.7% 0.073 116)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #023F5B

    #023F5B

    oklch(34.8% 0.074 236.2)

  • #4D2B4E

    #4D2B4E

    oklch(34.7% 0.073 326)

  • #562E0D

    #562E0D

    oklch(34.7% 0.074 55.9)

  • #1D4421

    #1D4421

    oklch(34.8% 0.074 145.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #023F5B 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.