#071F34

Closest named color: Rich Black (#0D1B2A). oklch(23.3% 0.05 248.1), rgb(7, 31, 52).

Aa

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

About this color

#071F34 is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.050 and its hue 248°. Its hue sits on the cool side of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.021 away. White text reads best on it, at 16.73:1.

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.050)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.25:1
White text16.73:1

Values

HEX#071F34
RGBrgb(7, 31, 52)
HSLhsl(208, 76%, 12%)
OKLCHoklch(23.3% 0.05 248.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 #071F34 16.73:1 AAA Lc -106.0 Preferred for body text
Black text on #071F34 1.25:1 Fails Lc 0.0 Not readable
#071F34 text on white 16.73:1 AAA Lc 103.5 Preferred for body text
#071F34 text on black 1.25: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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C9DCEF

    oklch(88.6% 0.033 248.2)

  4. Step 300

    300

    #A3C5E6

    oklch(81% 0.059 247.8)

  5. Step 400

    400

    #6FA6DA

    oklch(70.7% 0.096 248)

  6. Step 500

    500

    #468ECF

    oklch(63% 0.122 248.2)

  7. Step 600

    600

    #2377BC

    oklch(55.5% 0.132 248.2)

  8. Step 700

    700

    #1364A3

    oklch(49.1% 0.124 248.3)

  9. Step 800

    800

    #155284

    oklch(42.8% 0.102 248.2)

  10. Step 900

    900

    #19446A

    oklch(37.7% 0.081 248.4)

  11. Step 950

    950 (this color)

    #071F34

    oklch(23.3% 0.05 248.1)

Export this scale for Tailwind in the Tailwind colors tool

#071F34 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)#1520350.018
Deuteranopia (no green cones)#0F1C340.013
Tritanopia (no blue cones)#0024270.036
Achromatopsia (no color)#1E1E1E0.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #071F34

    #071F34

    oklch(23.3% 0.05 248.1)

  • #2D1800

    #2D1800

    oklch(23.3% 0.051 67.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #071F34

    #071F34

    oklch(23.3% 0.05 248.1)

  • #00222B

    #00222B

    oklch(23.3% 0.042 219.2)

  • #181B35

    #181B35

    oklch(23.4% 0.05 276.8)

Open the analogous palette in the generator

Split complementary

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

  • #071F34

    #071F34

    oklch(23.3% 0.05 248.1)

  • #31140B

    #31140B

    oklch(23.3% 0.05 37.9)

  • #241D00

    #241D00

    oklch(23.2% 0.048 96.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #071F34

    #071F34

    oklch(23.3% 0.05 248.1)

  • #311219

    #311219

    oklch(23.3% 0.051 7.7)

  • #172206

    #172206

    oklch(23.4% 0.05 127.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #071F34

    #071F34

    oklch(23.3% 0.05 248.1)

  • #2C1326

    #2C1326

    oklch(23.2% 0.051 336.8)

  • #2D1800

    #2D1800

    oklch(23.3% 0.051 67.7)

  • #032514

    #032514

    oklch(23.5% 0.051 157.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #071F34 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.