#031C3B

Closest named color: Rich Black (#0D1B2A). oklch(22.8% 0.068 255.1), rgb(3, 28, 59).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (23%)
Chromamuted (0.068)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text17.02:1

Values

HEX#031C3B
RGBrgb(3, 28, 59)
HSLhsl(213, 90%, 12%)
OKLCHoklch(22.8% 0.068 255.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 #031C3B 17.02:1 AAA Lc -106.1 Preferred for body text
Black text on #031C3B 1.23:1 Fails Lc 0.0 Not readable
#031C3B text on white 17.02:1 AAA Lc 103.7 Preferred for body text
#031C3B 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E0EBFA

    oklch(93.6% 0.024 256.1)

  3. Step 200

    200

    #C6DBF7

    oklch(88.5% 0.045 255.6)

  4. Step 300

    300

    #9EC4F4

    oklch(81% 0.08 254.5)

  5. Step 400

    400

    #67A3EF

    oklch(70.7% 0.128 255)

  6. Step 500

    500

    #3A8AE9

    oklch(63.1% 0.163 254.8)

  7. Step 600

    600

    #0D71D8

    oklch(55.6% 0.178 255.2)

  8. Step 700

    700

    #005EB9

    oklch(49% 0.162 255.1)

  9. Step 800

    800

    #054D97

    oklch(42.6% 0.137 255.1)

  10. Step 900

    900

    #124178

    oklch(37.6% 0.106 255.1)

  11. Step 950

    950 (this color)

    #031C3B

    oklch(22.8% 0.068 255.1)

Export this scale for Tailwind in the Tailwind colors tool

#031C3B 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)#0B1F3C0.015
Deuteranopia (no green cones)#011A3A0.008
Tritanopia (no blue cones)#0023280.050
Achromatopsia (no color)#1C1C1C0.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #031C3B

    #031C3B

    oklch(22.8% 0.068 255.1)

  • #291900

    #291900

    oklch(22.9% 0.048 76.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031C3B

    #031C3B

    oklch(22.8% 0.068 255.1)

  • #00202C

    #00202C

    oklch(22.7% 0.044 227)

  • #1A163A

    #1A163A

    oklch(22.8% 0.067 284.8)

Open the analogous palette in the generator

Split complementary

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

  • #031C3B

    #031C3B

    oklch(22.8% 0.068 255.1)

  • #341000

    #341000

    oklch(22.9% 0.065 45.5)

  • #201D00

    #201D00

    oklch(22.7% 0.048 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031C3B

    #031C3B

    oklch(22.8% 0.068 255.1)

  • #360B12

    #360B12

    oklch(22.9% 0.068 15)

  • #0D2300

    #0D2300

    oklch(22.9% 0.067 135.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031C3B

    #031C3B

    oklch(22.8% 0.068 255.1)

  • #310C23

    #310C23

    oklch(22.7% 0.068 345.6)

  • #291900

    #291900

    oklch(22.9% 0.048 76.8)

  • #002317

    #002317

    oklch(22.7% 0.047 165.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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