#020814

Closest named color: Almost Black (#070D0D). oklch(13.4% 0.031 255.4), rgb(2, 8, 20).

Aa

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

About this color

#020814 is a very dark, muted blue. In OKLCH its lightness is 13%, its chroma 0.031 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.033 away. White text reads best on it, at 20.04:1.

Hue familyBlues
Lightnessvery dark (13%)
Chromamuted (0.031)
Temperaturecool
Nearest nameAlmost Black (#070D0D)
Black text1.04:1
White text20.04:1

Values

HEX#020814
RGBrgb(2, 8, 20)
HSLhsl(220, 82%, 4%)
OKLCHoklch(13.4% 0.031 255.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 #020814 20.04:1 AAA Lc -107.8 Preferred for body text
Black text on #020814 1.04:1 Fails Lc 0.0 Not readable
#020814 text on white 20.04:1 AAA Lc 105.9 Preferred for body text
#020814 text on black 1.04: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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D1DAE7

    oklch(88.5% 0.02 257.5)

  4. Step 300

    300

    #B1C2D8

    oklch(80.8% 0.036 254.9)

  5. Step 400

    400

    #89A3C5

    oklch(70.8% 0.058 255.3)

  6. Step 500

    500

    #6B8CB6

    oklch(63.2% 0.074 254.8)

  7. Step 600

    600

    #5375A2

    oklch(55.6% 0.081 255.7)

  8. Step 700

    700

    #43628B

    oklch(49% 0.076 255.7)

  9. Step 800

    800

    #375071

    oklch(42.6% 0.063 255.7)

  10. Step 900

    900

    #30435B

    oklch(37.8% 0.048 254.6)

  11. Step 950

    950 (this color)

    #020814

    oklch(13.4% 0.031 255.4)

Export this scale for Tailwind in the Tailwind colors tool

#020814 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)#0409140.008
Deuteranopia (no green cones)#0207140.005
Tritanopia (no blue cones)#000B0C0.026
Achromatopsia (no color)#0808080.031

Harmonies

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

Complementary

The opposite hue (180°).

  • #020814

    #020814

    oklch(13.4% 0.031 255.4)

  • #0E0600

    #0E0600

    oklch(13.2% 0.028 74.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #020814

    #020814

    oklch(13.4% 0.031 255.4)

  • #000A10

    #000A10

    oklch(13.5% 0.026 225.9)

  • #070614

    #070614

    oklch(13.4% 0.032 285.3)

Open the analogous palette in the generator

Split complementary

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

  • #020814

    #020814

    oklch(13.4% 0.031 255.4)

  • #120401

    #120401

    oklch(13.3% 0.032 43.4)

  • #090800

    #090800

    oklch(13.2% 0.028 105.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #020814

    #020814

    oklch(13.4% 0.031 255.4)

  • #120405

    #120405

    oklch(13.5% 0.029 15.5)

  • #040A01

    #040A01

    oklch(13.2% 0.031 132.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #020814

    #020814

    oklch(13.4% 0.031 255.4)

  • #10040A

    #10040A

    oklch(13.4% 0.029 347)

  • #0E0600

    #0E0600

    oklch(13.2% 0.028 74.5)

  • #000B06

    #000B06

    oklch(13.3% 0.027 167.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #020814 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.