#031F2D

Closest named color: Rich Black (#0D1B2A). oklch(22.6% 0.043 234), rgb(3, 31, 45).

Aa

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

About this color

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

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

Values

HEX#031F2D
RGBrgb(3, 31, 45)
HSLhsl(200, 88%, 9%)
OKLCHoklch(22.6% 0.043 234)

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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF2

    oklch(93.7% 0.014 231.2)

  3. Step 200

    200

    #C8DDE9

    oklch(88.6% 0.028 232.7)

  4. Step 300

    300

    #A1C7DD

    oklch(80.9% 0.051 233.6)

  5. Step 400

    400

    #6BA9CC

    oklch(70.6% 0.082 234.4)

  6. Step 500

    500

    #3E93BF

    oklch(63% 0.105 234.5)

  7. Step 600

    600

    #0C7DAB

    oklch(55.6% 0.113 233.9)

  8. Step 700

    700

    #006992

    oklch(49.1% 0.103 234.3)

  9. Step 800

    800

    #055677

    oklch(42.7% 0.087 233.7)

  10. Step 900

    900

    #134760

    oklch(37.7% 0.068 234)

  11. Step 950

    950 (this color)

    #031F2D

    oklch(22.6% 0.043 234)

Export this scale for Tailwind in the Tailwind colors tool

#031F2D 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)#181F2E0.027
Deuteranopia (no green cones)#121B2D0.021
Tritanopia (no blue cones)#0023240.027
Achromatopsia (no color)#1C1C1C0.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #031F2D

    #031F2D

    oklch(22.6% 0.043 234)

  • #2B1607

    #2B1607

    oklch(22.6% 0.042 54.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031F2D

    #031F2D

    oklch(22.6% 0.043 234)

  • #002124

    #002124

    oklch(22.6% 0.038 203.5)

  • #121B30

    #121B30

    oklch(22.5% 0.043 265.5)

Open the analogous palette in the generator

Split complementary

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

  • #031F2D

    #031F2D

    oklch(22.6% 0.043 234)

  • #2D1312

    #2D1312

    oklch(22.5% 0.043 23.4)

  • #251A02

    #251A02

    oklch(22.6% 0.043 85)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031F2D

    #031F2D

    oklch(22.6% 0.043 234)

  • #2B131D

    #2B131D

    oklch(22.6% 0.042 354.6)

  • #1C1E04

    #1C1E04

    oklch(22.6% 0.044 113.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031F2D

    #031F2D

    oklch(22.6% 0.043 234)

  • #261527

    #261527

    oklch(22.7% 0.042 324.9)

  • #2B1607

    #2B1607

    oklch(22.6% 0.042 54.7)

  • #0E210E

    #0E210E

    oklch(22.5% 0.044 144)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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