#070C27

Closest named color: Dark Navy (#000435). oklch(16.9% 0.056 270.9), rgb(7, 12, 39).

Aa

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

About this color

#070C27 is a very dark, muted blue. In OKLCH its lightness is 17%, its chroma 0.056 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Navy (#000435), ΔE 0.042 away. White text reads best on it, at 19.24:1.

Hue familyBlues
Lightnessvery dark (17%)
Chromamuted (0.056)
Temperaturecool
Nearest nameDark Navy (#000435)
Black text1.09:1
White text19.24:1

Values

HEX#070C27
RGBrgb(7, 12, 39)
HSLhsl(231, 70%, 9%)
OKLCHoklch(16.9% 0.056 270.9)

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 #070C27 19.24:1 AAA Lc -107.4 Preferred for body text
Black text on #070C27 1.09:1 Fails Lc 0.0 Not readable
#070C27 text on white 19.24:1 AAA Lc 105.5 Preferred for body text
#070C27 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F7

    oklch(93.5% 0.019 273.2)

  3. Step 200

    200

    #D0D8F2

    oklch(88.4% 0.037 272)

  4. Step 300

    300

    #B0BFEC

    oklch(80.9% 0.066 270.5)

  5. Step 400

    400

    #889DE3

    oklch(70.8% 0.106 270.8)

  6. Step 500

    500

    #6B83DB

    oklch(63.1% 0.135 270.6)

  7. Step 600

    600

    #546BC8

    oklch(55.6% 0.146 270.6)

  8. Step 700

    700

    #4558AD

    oklch(49% 0.137 271.1)

  9. Step 800

    800

    #39498C

    oklch(42.8% 0.112 270.9)

  10. Step 900

    900

    #303D70

    oklch(37.6% 0.089 270.9)

  11. Step 950

    950 (this color)

    #070C27

    oklch(16.9% 0.056 270.9)

Export this scale for Tailwind in the Tailwind colors tool

#070C27 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)#0010280.017
Deuteranopia (no green cones)#000D260.015
Tritanopia (no blue cones)#0012170.046
Achromatopsia (no color)#0E0E0E0.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #070C27

    #070C27

    oklch(16.9% 0.056 270.9)

  • #150E00

    #150E00

    oklch(16.8% 0.034 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #070C27

    #070C27

    oklch(16.9% 0.056 270.9)

  • #00111E

    #00111E

    oklch(16.9% 0.038 239.5)

  • #140823

    #140823

    oklch(17% 0.055 301.4)

Open the analogous palette in the generator

Split complementary

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

  • #070C27

    #070C27

    oklch(16.9% 0.056 270.9)

  • #1B0A00

    #1B0A00

    oklch(16.8% 0.039 59.9)

  • #0D1200

    #0D1200

    oklch(17.1% 0.041 121)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #070C27

    #070C27

    oklch(16.9% 0.056 270.9)

  • #220402

    #220402

    oklch(16.9% 0.055 30.8)

  • #001405

    #001405

    oklch(16.7% 0.045 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #070C27

    #070C27

    oklch(16.9% 0.056 270.9)

  • #21030E

    #21030E

    oklch(16.9% 0.056 0.2)

  • #150E00

    #150E00

    oklch(16.8% 0.034 89.1)

  • #001310

    #001310

    oklch(16.8% 0.03 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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