#02334B

Closest named color: Midnight Green (#073B4C). oklch(30.4% 0.065 236.8), rgb(2, 51, 75).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (30%)
Chromamuted (0.065)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.57:1
White text13.31:1

Values

HEX#02334B
RGBrgb(2, 51, 75)
HSLhsl(200, 95%, 15%)
OKLCHoklch(30.4% 0.065 236.8)

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 #02334B 13.31:1 AAA Lc -102.6 Preferred for body text
Black text on #02334B 1.57:1 Fails Lc 0.0 Not readable
#02334B text on white 13.31:1 AAA Lc 99.3 Preferred for body text
#02334B text on black 1.57: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

    #DDEDF7

    oklch(93.7% 0.022 235)

  3. Step 200

    200

    #C0DEF2

    oklch(88.5% 0.042 237.2)

  4. Step 300

    300

    #91C9EC

    oklch(81% 0.076 236.4)

  5. Step 400

    400

    #48ABE3

    oklch(70.6% 0.123 237)

  6. Step 500

    500

    #0094D1

    oklch(63.1% 0.137 236.6)

  7. Step 600

    600

    #007CB1

    oklch(55.6% 0.122 237.2)

  8. Step 700

    700

    #006895

    oklch(49% 0.107 237)

  9. Step 800

    800

    #00557B

    oklch(42.6% 0.093 237.2)

  10. Step 900

    900

    #004767

    oklch(37.7% 0.082 236.6)

  11. Step 950

    950 (this color)

    #02334B

    oklch(30.4% 0.065 236.8)

Export this scale for Tailwind in the Tailwind colors tool

#02334B 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)#27334C0.036
Deuteranopia (no green cones)#1E2D4B0.029
Tritanopia (no blue cones)#00393B0.041
Achromatopsia (no color)#2F2F2F0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #02334B

    #02334B

    oklch(30.4% 0.065 236.8)

  • #472508

    #472508

    oklch(30.4% 0.065 56.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02334B

    #02334B

    oklch(30.4% 0.065 236.8)

  • #00363C

    #00363C

    oklch(30.4% 0.052 206.8)

  • #202D4F

    #202D4F

    oklch(30.4% 0.064 266.8)

Open the analogous palette in the generator

Split complementary

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

  • #02334B

    #02334B

    oklch(30.4% 0.065 236.8)

  • #4A201D

    #4A201D

    oklch(30.3% 0.065 25.8)

  • #3C2C00

    #3C2C00

    oklch(30.3% 0.062 87)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02334B

    #02334B

    oklch(30.4% 0.065 236.8)

  • #48202F

    #48202F

    oklch(30.5% 0.064 357.8)

  • #2D3305

    #2D3305

    oklch(30.5% 0.065 117)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02334B

    #02334B

    oklch(30.4% 0.065 236.8)

  • #402240

    #402240

    oklch(30.4% 0.066 327)

  • #472508

    #472508

    oklch(30.4% 0.065 56.5)

  • #16371A

    #16371A

    oklch(30.3% 0.064 146.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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