#02334E

Closest named color: Midnight Green (#073B4C). oklch(30.6% 0.068 239.9), rgb(2, 51, 78).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (31%)
Chromamuted (0.068)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.58:1
White text13.23:1

Values

HEX#02334E
RGBrgb(2, 51, 78)
HSLhsl(201, 95%, 16%)
OKLCHoklch(30.6% 0.068 239.9)

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 #02334E 13.23:1 AAA Lc -102.5 Preferred for body text
Black text on #02334E 1.58:1 Fails Lc 0.0 Not readable
#02334E text on white 13.23:1 AAA Lc 99.2 Preferred for body text
#02334E text on black 1.58: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

    #EFF7FC

    oklch(97.2% 0.011 234.8)

  2. Step 100

    100

    #DCECF8

    oklch(93.5% 0.024 240.1)

  3. Step 200

    200

    #BFDEF4

    oklch(88.5% 0.045 238.9)

  4. Step 300

    300

    #90C8F0

    oklch(80.8% 0.081 240.1)

  5. Step 400

    400

    #47AAE9

    oklch(70.7% 0.13 240.3)

  6. Step 500

    500

    #0093D7

    oklch(63.2% 0.144 239.7)

  7. Step 600

    600

    #007BB6

    oklch(55.6% 0.128 240.2)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557F

    oklch(42.8% 0.098 239.8)

  10. Step 900

    900

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950 (this color)

    #02334E

    oklch(30.6% 0.068 239.9)

Export this scale for Tailwind in the Tailwind colors tool

#02334E 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)#26334F0.034
Deuteranopia (no green cones)#1C2D4E0.027
Tritanopia (no blue cones)#003A3D0.045
Achromatopsia (no color)#3030300.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #02334E

    #02334E

    oklch(30.6% 0.068 239.9)

  • #482603

    #482603

    oklch(30.7% 0.069 60.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02334E

    #02334E

    oklch(30.6% 0.068 239.9)

  • #00363E

    #00363E

    oklch(30.5% 0.053 210.7)

  • #222D52

    #222D52

    oklch(30.7% 0.068 269.6)

Open the analogous palette in the generator

Split complementary

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

  • #02334E

    #02334E

    oklch(30.6% 0.068 239.9)

  • #4C201A

    #4C201A

    oklch(30.6% 0.068 29.5)

  • #3C2D00

    #3C2D00

    oklch(30.6% 0.062 88.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02334E

    #02334E

    oklch(30.6% 0.068 239.9)

  • #4A1F2E

    #4A1F2E

    oklch(30.6% 0.068 359.9)

  • #2B3404

    #2B3404

    oklch(30.6% 0.069 120.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02334E

    #02334E

    oklch(30.6% 0.068 239.9)

  • #422140

    #422140

    oklch(30.6% 0.069 329.3)

  • #482603

    #482603

    oklch(30.7% 0.069 60.5)

  • #10391C

    #10391C

    oklch(30.7% 0.069 150)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02334E 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.