#020F26

Closest named color: Rich Navy (#001219). oklch(17.2% 0.052 257.7), rgb(2, 15, 38).

Aa

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

About this color

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

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

Values

HEX#020F26
RGBrgb(2, 15, 38)
HSLhsl(218, 90%, 8%)
OKLCHoklch(17.2% 0.052 257.7)

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 #020F26 19.11:1 AAA Lc -107.4 Preferred for body text
Black text on #020F26 1.09:1 Fails Lc 0.0 Not readable
#020F26 text on white 19.11:1 AAA Lc 105.3 Preferred for body text
#020F26 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

    #A8C3E9

    oklch(81% 0.061 256.9)

  5. Step 400

    400

    #79A2DE

    oklch(70.6% 0.099 257.8)

  6. Step 500

    500

    #568AD5

    oklch(63.1% 0.127 257.6)

  7. Step 600

    600

    #3B72C2

    oklch(55.5% 0.138 257.9)

  8. Step 700

    700

    #2D60A8

    oklch(49.2% 0.128 257.5)

  9. Step 800

    800

    #264E88

    oklch(42.6% 0.107 257.9)

  10. Step 900

    900

    #24426D

    oklch(37.8% 0.082 257.5)

  11. Step 950

    950 (this color)

    #020F26

    oklch(17.2% 0.052 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#020F26 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)#0411270.009
Deuteranopia (no green cones)#000E260.006
Tritanopia (no blue cones)#0015180.042
Achromatopsia (no color)#0F0F0F0.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #020F26

    #020F26

    oklch(17.2% 0.052 257.7)

  • #180D00

    #180D00

    oklch(17% 0.036 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020F26

    #020F26

    oklch(17.2% 0.052 257.7)

  • #00121B

    #00121B

    oklch(17% 0.034 228.9)

  • #0F0B25

    #0F0B25

    oklch(17.3% 0.052 286.7)

Open the analogous palette in the generator

Split complementary

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

  • #020F26

    #020F26

    oklch(17.2% 0.052 257.7)

  • #1F0800

    #1F0800

    oklch(17.1% 0.046 48.5)

  • #121100

    #121100

    oklch(17.3% 0.037 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020F26

    #020F26

    oklch(17.2% 0.052 257.7)

  • #220407

    #220407

    oklch(17.1% 0.053 17.3)

  • #041500

    #041500

    oklch(17.3% 0.053 137.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020F26

    #020F26

    oklch(17.2% 0.052 257.7)

  • #1F0514

    #1F0514

    oklch(17.2% 0.052 347.4)

  • #180D00

    #180D00

    oklch(17% 0.036 77)

  • #00140D

    #00140D

    oklch(17% 0.034 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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