#020F30

Closest named color: Dark Navy (#000435). oklch(18.2% 0.07 262), rgb(2, 15, 48).

Aa

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

About this color

#020F30 is a very dark, muted blue. In OKLCH its lightness is 18%, its chroma 0.070 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.034 away. White text reads best on it, at 18.85:1.

Hue familyBlues
Lightnessvery dark (18%)
Chromamuted (0.070)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.11:1
White text18.85:1

Values

HEX#020F30
RGBrgb(2, 15, 48)
HSLhsl(223, 92%, 10%)
OKLCHoklch(18.2% 0.07 262)

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 #020F30 18.85:1 AAA Lc -107.2 Preferred for body text
Black text on #020F30 1.11:1 Fails Lc 0.0 Not readable
#020F30 text on white 18.85:1 AAA Lc 105.1 Preferred for body text
#020F30 text on black 1.11: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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF8

    oklch(88.5% 0.045 261.9)

  4. Step 300

    300

    #A4C1F7

    oklch(80.9% 0.083 262.6)

  5. Step 400

    400

    #739FF2

    oklch(70.6% 0.131 262.3)

  6. Step 500

    500

    #4E85EE

    oklch(63.1% 0.168 261.9)

  7. Step 600

    600

    #326CDC

    oklch(55.6% 0.182 261.8)

  8. Step 700

    700

    #2559BF

    oklch(49.1% 0.17 262)

  9. Step 800

    800

    #20499B

    oklch(42.6% 0.142 262.2)

  10. Step 900

    900

    #1F3E7B

    oklch(37.6% 0.11 262.2)

  11. Step 950

    950 (this color)

    #020F30

    oklch(18.2% 0.07 262)

Export this scale for Tailwind in the Tailwind colors tool

#020F30 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)#0014310.016
Deuteranopia (no green cones)#000F2F0.005
Tritanopia (no blue cones)#00171D0.052
Achromatopsia (no color)#1111110.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #020F30

    #020F30

    oklch(18.2% 0.07 262)

  • #1A1000

    #1A1000

    oklch(18.2% 0.037 82.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020F30

    #020F30

    oklch(18.2% 0.07 262)

  • #00141F

    #00141F

    oklch(18% 0.037 232.6)

  • #14092D

    #14092D

    oklch(18.2% 0.069 292.3)

Open the analogous palette in the generator

Split complementary

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

  • #020F30

    #020F30

    oklch(18.2% 0.07 262)

  • #210B00

    #210B00

    oklch(18.2% 0.046 53.5)

  • #131300

    #131300

    oklch(18.1% 0.039 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020F30

    #020F30

    oklch(18.2% 0.07 262)

  • #2A0104

    #2A0104

    oklch(18.2% 0.07 22)

  • #011800

    #011800

    oklch(18.2% 0.061 141.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020F30

    #020F30

    oklch(18.2% 0.07 262)

  • #270215

    #270215

    oklch(18.3% 0.069 352.8)

  • #1A1000

    #1A1000

    oklch(18.2% 0.037 82.5)

  • #001710

    #001710

    oklch(18.2% 0.036 171.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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