#020F25

Closest named color: Rich Navy (#001219). oklch(17.1% 0.051 257), rgb(2, 15, 37).

Aa

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

About this color

#020F25 is a very dark, muted blue. In OKLCH its lightness is 17%, its chroma 0.051 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.030 away. White text reads best on it, at 19.13:1.

Hue familyBlues
Lightnessvery dark (17%)
Chromamuted (0.051)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.09:1
White text19.13:1

Values

HEX#020F25
RGBrgb(2, 15, 37)
HSLhsl(218, 90%, 8%)
OKLCHoklch(17.1% 0.051 257)

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 #020F25 19.13:1 AAA Lc -107.4 Preferred for body text
Black text on #020F25 1.09:1 Fails Lc 0.0 Not readable
#020F25 text on white 19.13:1 AAA Lc 105.4 Preferred for body text
#020F25 text on black 1.09: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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EBF6

    oklch(93.7% 0.017 256.3)

  3. Step 200

    200

    #CBDAF0

    oklch(88.4% 0.034 257.9)

  4. Step 300

    300

    #A8C3E8

    oklch(81% 0.06 256.3)

  5. Step 400

    400

    #7AA3DC

    oklch(70.8% 0.095 256.7)

  6. Step 500

    500

    #578AD3

    oklch(63% 0.124 257.4)

  7. Step 600

    600

    #3B73C0

    oklch(55.6% 0.134 256.9)

  8. Step 700

    700

    #2E60A5

    oklch(49.1% 0.123 257.1)

  9. Step 800

    800

    #274F86

    oklch(42.8% 0.102 256.9)

  10. Step 900

    900

    #24426B

    oklch(37.7% 0.079 256.6)

  11. Step 950

    950 (this color)

    #020F25

    oklch(17.1% 0.051 257)

Export this scale for Tailwind in the Tailwind colors tool

#020F25 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)#0411260.009
Deuteranopia (no green cones)#000E250.006
Tritanopia (no blue cones)#0014180.037
Achromatopsia (no color)#0F0F0F0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #020F25

    #020F25

    oklch(17.1% 0.051 257)

  • #180D00

    #180D00

    oklch(17% 0.036 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020F25

    #020F25

    oklch(17.1% 0.051 257)

  • #00121B

    #00121B

    oklch(17% 0.034 228.9)

  • #0F0B24

    #0F0B24

    oklch(17.2% 0.05 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #020F25

    #020F25

    oklch(17.1% 0.051 257)

  • #1F0700

    #1F0700

    oklch(16.9% 0.047 46)

  • #111000

    #111000

    oklch(16.9% 0.036 107.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020F25

    #020F25

    oklch(17.1% 0.051 257)

  • #210508

    #210508

    oklch(17.1% 0.05 16.3)

  • #051400

    #051400

    oklch(17% 0.051 135.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020F25

    #020F25

    oklch(17.1% 0.051 257)

  • #1E0514

    #1E0514

    oklch(17% 0.051 345.9)

  • #180D00

    #180D00

    oklch(17% 0.036 77)

  • #00140C

    #00140C

    oklch(17% 0.035 166.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #020F25 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.