#070C21

Closest named color: Rich Navy (#001219). oklch(16.3% 0.045 270.1), rgb(7, 12, 33).

Aa

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

About this color

#070C21 is a very dark, muted blue. In OKLCH its lightness is 16%, its chroma 0.045 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Navy (#001219), ΔE 0.033 away. White text reads best on it, at 19.38:1.

Hue familyBlues
Lightnessvery dark (16%)
Chromamuted (0.045)
Temperaturecool
Nearest nameRich Navy (#001219)
Black text1.08:1
White text19.38:1

Values

HEX#070C21
RGBrgb(7, 12, 33)
HSLhsl(228, 65%, 8%)
OKLCHoklch(16.3% 0.045 270.1)

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 #070C21 19.38:1 AAA Lc -107.5 Preferred for body text
Black text on #070C21 1.08:1 Fails Lc 0.0 Not readable
#070C21 text on white 19.38:1 AAA Lc 105.6 Preferred for body text
#070C21 text on black 1.08: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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D1D9ED

    oklch(88.5% 0.029 268.3)

  4. Step 300

    300

    #B3C0E4

    oklch(81% 0.053 269.6)

  5. Step 400

    400

    #8C9ED6

    oklch(70.6% 0.085 270.4)

  6. Step 500

    500

    #7085CB

    oklch(63% 0.109 270.4)

  7. Step 600

    600

    #596EB8

    oklch(55.6% 0.118 270.3)

  8. Step 700

    700

    #495C9F

    oklch(49.2% 0.11 270.1)

  9. Step 800

    800

    #3C4B81

    oklch(42.7% 0.092 270.4)

  10. Step 900

    900

    #333F67

    oklch(37.7% 0.07 270.1)

  11. Step 950

    950 (this color)

    #070C21

    oklch(16.3% 0.045 270.1)

Export this scale for Tailwind in the Tailwind colors tool

#070C21 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)#040F220.011
Deuteranopia (no green cones)#020C210.011
Tritanopia (no blue cones)#0011140.040
Achromatopsia (no color)#0D0D0D0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #070C21

    #070C21

    oklch(16.3% 0.045 270.1)

  • #130D00

    #130D00

    oklch(16.2% 0.033 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #070C21

    #070C21

    oklch(16.3% 0.045 270.1)

  • #00101C

    #00101C

    oklch(16.4% 0.037 238.2)

  • #11091E

    #11091E

    oklch(16.4% 0.044 299.2)

Open the analogous palette in the generator

Split complementary

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

  • #070C21

    #070C21

    oklch(16.3% 0.045 270.1)

  • #1A0900

    #1A0900

    oklch(16.4% 0.039 58.5)

  • #0C1000

    #0C1000

    oklch(16.3% 0.038 119.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #070C21

    #070C21

    oklch(16.3% 0.045 270.1)

  • #1E0503

    #1E0503

    oklch(16.3% 0.046 30.3)

  • #001304

    #001304

    oklch(16.3% 0.045 149.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #070C21

    #070C21

    oklch(16.3% 0.045 270.1)

  • #1C050D

    #1C050D

    oklch(16.2% 0.044 359.9)

  • #130D00

    #130D00

    oklch(16.2% 0.033 91.4)

  • #00120E

    #00120E

    oklch(16.3% 0.03 178.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #070C21 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.