#02374E

Closest named color: Midnight Green (#073B4C). oklch(31.8% 0.065 234), rgb(2, 55, 78).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (32%)
Chromamuted (0.065)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.65:1
White text12.65:1

Values

HEX#02374E
RGBrgb(2, 55, 78)
HSLhsl(198, 95%, 16%)
OKLCHoklch(31.8% 0.065 234)

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 #02374E 12.65:1 AAA Lc -101.7 Preferred for body text
Black text on #02374E 1.65:1 Fails Lc 0.0 Not readable
#02374E text on white 12.65:1 AAA Lc 98.3 Preferred for body text
#02374E text on black 1.65: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

    #EFF7FB

    oklch(97.1% 0.01 228.9)

  2. Step 100

    100

    #DCEDF7

    oklch(93.6% 0.023 233.4)

  3. Step 200

    200

    #BFDFF1

    oklch(88.6% 0.042 232.6)

  4. Step 300

    300

    #8FC9EB

    oklch(80.8% 0.077 234.7)

  5. Step 400

    400

    #41ACE1

    oklch(70.6% 0.123 234.1)

  6. Step 500

    500

    #0095CC

    oklch(63.1% 0.132 233.7)

  7. Step 600

    600

    #007DAD

    oklch(55.6% 0.117 234.3)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #005678

    oklch(42.7% 0.089 233.9)

  10. Step 900

    900

    #004865

    oklch(37.8% 0.079 233.7)

  11. Step 950

    950 (this color)

    #02374E

    oklch(31.8% 0.065 234)

Export this scale for Tailwind in the Tailwind colors tool

#02374E 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)#2C374F0.041
Deuteranopia (no green cones)#22304E0.033
Tritanopia (no blue cones)#003D3F0.039
Achromatopsia (no color)#3333330.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #02374E

    #02374E

    oklch(31.8% 0.065 234)

  • #4B280E

    #4B280E

    oklch(31.7% 0.065 54.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02374E

    #02374E

    oklch(31.8% 0.065 234)

  • #003A3F

    #003A3F

    oklch(31.8% 0.054 204.3)

  • #213153

    #213153

    oklch(31.7% 0.065 264)

Open the analogous palette in the generator

Split complementary

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

  • #02374E

    #02374E

    oklch(31.8% 0.065 234)

  • #4E2322

    #4E2322

    oklch(31.6% 0.065 22.8)

  • #422F00

    #422F00

    oklch(31.9% 0.065 84.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02374E

    #02374E

    oklch(31.8% 0.065 234)

  • #4B2334

    #4B2334

    oklch(31.7% 0.065 354.6)

  • #323607

    #323607

    oklch(31.9% 0.066 114.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02374E

    #02374E

    oklch(31.8% 0.065 234)

  • #422645

    #422645

    oklch(31.8% 0.065 323.5)

  • #4B280E

    #4B280E

    oklch(31.7% 0.065 54.2)

  • #1B3B1C

    #1B3B1C

    oklch(31.9% 0.066 144.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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