#02415E

Closest named color: Midnight Green (#073B4C). oklch(35.5% 0.076 236.4), rgb(2, 65, 94).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameMidnight Green (#073B4C)
Black text1.92:1
White text10.93:1

Values

HEX#02415E
RGBrgb(2, 65, 94)
HSLhsl(199, 96%, 19%)
OKLCHoklch(35.5% 0.076 236.4)

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 #02415E 10.93:1 AAA Lc -98.8 Preferred for body text
Black text on #02415E 1.92:1 Fails Lc 9.1 Not readable
#02415E text on white 10.93:1 AAA Lc 94.9 Preferred for body text
#02415E text on black 1.92:1 Fails Lc -7.8 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

    #E0ECF4

    oklch(93.6% 0.017 236.7)

  3. Step 200

    200

    #C6DDEC

    oklch(88.5% 0.032 236.4)

  4. Step 300

    300

    #9EC7E1

    oklch(80.9% 0.057 236.2)

  5. Step 400

    400

    #66A9D2

    oklch(70.6% 0.091 236.9)

  6. Step 500

    500

    #3393C6

    oklch(63% 0.116 236.4)

  7. Step 600

    600

    #007CB0

    oklch(55.5% 0.121 236.7)

  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 (this color)

    #02415E

    oklch(35.5% 0.076 236.4)

  11. Step 950

    950

    #0A2A3B

    oklch(27.1% 0.048 236)

Export this scale for Tailwind in the Tailwind colors tool

#02415E 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)#33415F0.044
Deuteranopia (no green cones)#27395E0.035
Tritanopia (no blue cones)#00484B0.046
Achromatopsia (no color)#3D3D3D0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #02415E

    #02415E

    oklch(35.5% 0.076 236.4)

  • #59300D

    #59300D

    oklch(35.5% 0.076 56.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02415E

    #02415E

    oklch(35.5% 0.076 236.4)

  • #00454C

    #00454C

    oklch(35.7% 0.061 206.3)

  • #293A63

    #293A63

    oklch(35.5% 0.075 265.7)

Open the analogous palette in the generator

Split complementary

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

  • #02415E

    #02415E

    oklch(35.5% 0.076 236.4)

  • #5D2A26

    #5D2A26

    oklch(35.4% 0.076 26.2)

  • #4D3900

    #4D3900

    oklch(35.7% 0.073 86.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02415E

    #02415E

    oklch(35.5% 0.076 236.4)

  • #5A293D

    #5A293D

    oklch(35.5% 0.076 355.9)

  • #3A4008

    #3A4008

    oklch(35.4% 0.075 115.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02415E

    #02415E

    oklch(35.5% 0.076 236.4)

  • #502D51

    #502D51

    oklch(35.6% 0.075 326)

  • #59300D

    #59300D

    oklch(35.5% 0.076 56.6)

  • #1D4623

    #1D4623

    oklch(35.5% 0.075 146.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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