#023371

Closest named color: Marine Blue (#01386A). oklch(33.3% 0.118 257.5), rgb(2, 51, 113).

Aa

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

About this color

#023371 is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.118 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.020 away. White text reads best on it, at 12.24:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.71:1
White text12.24:1

Values

HEX#023371
RGBrgb(2, 51, 113)
HSLhsl(214, 97%, 23%)
OKLCHoklch(33.3% 0.118 257.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 #023371 12.24:1 AAA Lc -100.9 Preferred for body text
Black text on #023371 1.71:1 Fails Lc 0.0 Not readable
#023371 text on white 12.24:1 AAA Lc 97.3 Preferred for body text
#023371 text on black 1.71: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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9DC3FA

    oklch(81% 0.088 257.6)

  5. Step 400

    400

    #65A1F7

    oklch(70.6% 0.141 257.5)

  6. Step 500

    500

    #3887F4

    oklch(63.1% 0.181 257.4)

  7. Step 600

    600

    #0A6DE3

    oklch(55.5% 0.197 257.6)

  8. Step 700

    700

    #005BC3

    oklch(49.1% 0.179 257.6)

  9. Step 800

    800

    #044B9F

    oklch(42.7% 0.15 257.3)

  10. Step 900

    900 (this color)

    #023371

    oklch(33.3% 0.118 257.5)

  11. Step 950

    950

    #0C264A

    oklch(27.1% 0.074 257.4)

Export this scale for Tailwind in the Tailwind colors tool

#023371 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)#043A730.021
Deuteranopia (no green cones)#0031700.006
Tritanopia (no blue cones)#00424C0.089
Achromatopsia (no color)#3535350.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #023371

    #023371

    oklch(33.3% 0.118 257.5)

  • #4A3100

    #4A3100

    oklch(33.4% 0.07 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #023371

    #023371

    oklch(33.3% 0.118 257.5)

  • #003C50

    #003C50

    oklch(33.3% 0.065 227.9)

  • #35276E

    #35276E

    oklch(33.3% 0.118 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #023371

    #023371

    oklch(33.3% 0.118 257.5)

  • #5A2400

    #5A2400

    oklch(33.4% 0.091 48)

  • #3A3800

    #3A3800

    oklch(33.2% 0.071 107.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #023371

    #023371

    oklch(33.3% 0.118 257.5)

  • #650F1E

    #650F1E

    oklch(33.2% 0.118 17.7)

  • #174100

    #174100

    oklch(33.2% 0.102 137.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #023371

    #023371

    oklch(33.3% 0.118 257.5)

  • #5E1341

    #5E1341

    oklch(33.4% 0.117 347.8)

  • #4A3100

    #4A3100

    oklch(33.4% 0.07 77.7)

  • #00412F

    #00412F

    oklch(33.3% 0.068 167.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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