#031E34

Closest named color: Rich Black (#0D1B2A). oklch(22.8% 0.054 246.6), rgb(3, 30, 52).

Aa

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

About this color

#031E34 is a very dark, muted blue. In OKLCH its lightness is 23%, its chroma 0.054 and its hue 247°. 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.94:1.

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

Values

HEX#031E34
RGBrgb(3, 30, 52)
HSLhsl(207, 89%, 11%)
OKLCHoklch(22.8% 0.054 246.6)

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 #031E34 16.94:1 AAA Lc -106.1 Preferred for body text
Black text on #031E34 1.23:1 Fails Lc 0.0 Not readable
#031E34 text on white 16.94:1 AAA Lc 103.7 Preferred for body text
#031E34 text on black 1.23: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

    #E0EBF6

    oklch(93.5% 0.019 248)

  3. Step 200

    200

    #C7DCF0

    oklch(88.5% 0.036 246.9)

  4. Step 300

    300

    #A0C5E8

    oklch(80.9% 0.064 247.2)

  5. Step 400

    400

    #69A7DD

    oklch(70.8% 0.102 246.2)

  6. Step 500

    500

    #3B8FD3

    oklch(63% 0.13 246.5)

  7. Step 600

    600

    #0978C1

    oklch(55.6% 0.142 246.7)

  8. Step 700

    700

    #0065A4

    oklch(49.2% 0.127 246.3)

  9. Step 800

    800

    #045287

    oklch(42.6% 0.11 247)

  10. Step 900

    900

    #12456C

    oklch(37.8% 0.085 246.2)

  11. Step 950

    950 (this color)

    #031E34

    oklch(22.8% 0.054 246.6)

Export this scale for Tailwind in the Tailwind colors tool

#031E34 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)#141F350.021
Deuteranopia (no green cones)#0C1A340.016
Tritanopia (no blue cones)#0023260.037
Achromatopsia (no color)#1D1D1D0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #031E34

    #031E34

    oklch(22.8% 0.054 246.6)

  • #2C1700

    #2C1700

    oklch(22.9% 0.051 66.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031E34

    #031E34

    oklch(22.8% 0.054 246.6)

  • #002129

    #002129

    oklch(22.9% 0.041 217.2)

  • #161935

    #161935

    oklch(22.7% 0.054 276.6)

Open the analogous palette in the generator

Split complementary

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

  • #031E34

    #031E34

    oklch(22.8% 0.054 246.6)

  • #311209

    #311209

    oklch(22.8% 0.053 37)

  • #231C00

    #231C00

    oklch(22.8% 0.047 96)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031E34

    #031E34

    oklch(22.8% 0.054 246.6)

  • #311018

    #311018

    oklch(22.9% 0.054 7.3)

  • #162102

    #162102

    oklch(22.9% 0.055 126.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031E34

    #031E34

    oklch(22.8% 0.054 246.6)

  • #2C1126

    #2C1126

    oklch(22.8% 0.055 336.3)

  • #2C1700

    #2C1700

    oklch(22.9% 0.051 66.9)

  • #012412

    #012412

    oklch(23% 0.054 156.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031E34 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.