#031C33

Closest named color: Rich Black (#0D1B2A). oklch(22.1% 0.055 249), rgb(3, 28, 51).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (22%)
Chromamuted (0.055)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.21:1
White text17.24:1

Values

HEX#031C33
RGBrgb(3, 28, 51)
HSLhsl(209, 89%, 11%)
OKLCHoklch(22.1% 0.055 249)

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 #031C33 17.24:1 AAA Lc -106.3 Preferred for body text
Black text on #031C33 1.21:1 Fails Lc 0.0 Not readable
#031C33 text on white 17.24:1 AAA Lc 103.9 Preferred for body text
#031C33 text on black 1.21: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

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C7DCF1

    oklch(88.5% 0.037 248.2)

  4. Step 300

    300

    #A1C5E9

    oklch(81% 0.064 248.6)

  5. Step 400

    400

    #6BA6DF

    oklch(70.8% 0.104 248.7)

  6. Step 500

    500

    #408ED6

    oklch(63.1% 0.133 249.2)

  7. Step 600

    600

    #1677C3

    oklch(55.7% 0.144 248.8)

  8. Step 700

    700

    #0363A9

    oklch(49.1% 0.135 249.4)

  9. Step 800

    800

    #0C5188

    oklch(42.6% 0.111 249.1)

  10. Step 900

    900

    #15446D

    oklch(37.7% 0.086 248.8)

  11. Step 950

    950 (this color)

    #031C33

    oklch(22.1% 0.055 249)

Export this scale for Tailwind in the Tailwind colors tool

#031C33 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)#111D340.018
Deuteranopia (no green cones)#0919330.012
Tritanopia (no blue cones)#0022250.040
Achromatopsia (no color)#1B1B1B0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #031C33

    #031C33

    oklch(22.1% 0.055 249)

  • #291600

    #291600

    oklch(22.1% 0.048 69.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031C33

    #031C33

    oklch(22.1% 0.055 249)

  • #001F27

    #001F27

    oklch(22.1% 0.04 218.1)

  • #161734

    #161734

    oklch(22.1% 0.056 279.3)

Open the analogous palette in the generator

Split complementary

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

  • #031C33

    #031C33

    oklch(22.1% 0.055 249)

  • #2F1006

    #2F1006

    oklch(22% 0.054 39)

  • #201B00

    #201B00

    oklch(22.1% 0.046 99.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031C33

    #031C33

    oklch(22.1% 0.055 249)

  • #2F0E15

    #2F0E15

    oklch(22% 0.054 9.6)

  • #131F02

    #131F02

    oklch(22% 0.053 128.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031C33

    #031C33

    oklch(22.1% 0.055 249)

  • #2B0F23

    #2B0F23

    oklch(22.1% 0.056 339.6)

  • #291600

    #291600

    oklch(22.1% 0.048 69.2)

  • #002212

    #002212

    oklch(22.2% 0.051 158.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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