#031A2A

Closest named color: Rich Black (#0D1B2A). oklch(20.9% 0.044 241.6), rgb(3, 26, 42).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (21%)
Chromamuted (0.044)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.18:1
White text17.72:1

Values

HEX#031A2A
RGBrgb(3, 26, 42)
HSLhsl(205, 87%, 9%)
OKLCHoklch(20.9% 0.044 241.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 #031A2A 17.72:1 AAA Lc -106.6 Preferred for body text
Black text on #031A2A 1.18:1 Fails Lc 0.0 Not readable
#031A2A text on white 17.72:1 AAA Lc 104.4 Preferred for body text
#031A2A text on black 1.18: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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #C9DCEB

    oklch(88.5% 0.029 241.6)

  4. Step 300

    300

    #A4C5DF

    oklch(80.8% 0.051 242)

  5. Step 400

    400

    #71A7D0

    oklch(70.6% 0.083 242.1)

  6. Step 500

    500

    #4891C3

    oklch(63.1% 0.105 241.1)

  7. Step 600

    600

    #257AB0

    oklch(55.6% 0.115 241.7)

  8. Step 700

    700

    #166797

    oklch(49.2% 0.106 241.2)

  9. Step 800

    800

    #17547B

    oklch(42.8% 0.088 241.8)

  10. Step 900

    900

    #1B4663

    oklch(37.8% 0.069 241.4)

  11. Step 950

    950 (this color)

    #031A2A

    oklch(20.9% 0.044 241.6)

Export this scale for Tailwind in the Tailwind colors tool

#031A2A 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)#121A2B0.020
Deuteranopia (no green cones)#0D172A0.016
Tritanopia (no blue cones)#001E200.029
Achromatopsia (no color)#1818180.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #031A2A

    #031A2A

    oklch(20.9% 0.044 241.6)

  • #261302

    #261302

    oklch(21% 0.044 62.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031A2A

    #031A2A

    oklch(20.9% 0.044 241.6)

  • #001C22

    #001C22

    oklch(20.8% 0.037 213.9)

  • #11162C

    #11162C

    oklch(20.8% 0.044 272.4)

Open the analogous palette in the generator

Split complementary

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

  • #031A2A

    #031A2A

    oklch(20.9% 0.044 241.6)

  • #29100B

    #29100B

    oklch(21% 0.043 32.6)

  • #1F1700

    #1F1700

    oklch(20.9% 0.043 91.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031A2A

    #031A2A

    oklch(20.9% 0.044 241.6)

  • #280F17

    #280F17

    oklch(21% 0.043 1.2)

  • #151B03

    #151B03

    oklch(20.9% 0.044 121.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031A2A

    #031A2A

    oklch(20.9% 0.044 241.6)

  • #231021

    #231021

    oklch(20.8% 0.043 330.9)

  • #261302

    #261302

    oklch(21% 0.044 62.6)

  • #061E0D

    #061E0D

    oklch(21% 0.045 150.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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