#031828

Closest named color: Rich Black (#0D1B2A). oklch(20.1% 0.043 243.4), rgb(3, 24, 40).

Aa

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

About this color

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

Hue familyBlues
Lightnessvery dark (20%)
Chromamuted (0.043)
Temperaturecool
Nearest nameRich Black (#0D1B2A)
Black text1.16:1
White text18.02:1

Values

HEX#031828
RGBrgb(3, 24, 40)
HSLhsl(206, 86%, 8%)
OKLCHoklch(20.1% 0.043 243.4)

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 #031828 18.02:1 AAA Lc -106.8 Preferred for body text
Black text on #031828 1.16:1 Fails Lc 0.0 Not readable
#031828 text on white 18.02:1 AAA Lc 104.6 Preferred for body text
#031828 text on black 1.16: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

    #CADCEB

    oklch(88.6% 0.028 243.1)

  4. Step 300

    300

    #A5C5DF

    oklch(80.9% 0.05 242.9)

  5. Step 400

    400

    #74A7CF

    oklch(70.8% 0.08 242.8)

  6. Step 500

    500

    #4D90C3

    oklch(63.1% 0.103 243.5)

  7. Step 600

    600

    #2C79B0

    oklch(55.5% 0.113 243.8)

  8. Step 700

    700

    #1E6697

    oklch(49.1% 0.104 243.4)

  9. Step 800

    800

    #1C537A

    oklch(42.6% 0.086 243.6)

  10. Step 900

    900

    #1E4563

    oklch(37.7% 0.068 244.3)

  11. Step 950

    950 (this color)

    #031828

    oklch(20.1% 0.043 243.4)

Export this scale for Tailwind in the Tailwind colors tool

#031828 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)#1118290.020
Deuteranopia (no green cones)#0B15280.014
Tritanopia (no blue cones)#001C1E0.029
Achromatopsia (no color)#1616160.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #031828

    #031828

    oklch(20.1% 0.043 243.4)

  • #241101

    #241101

    oklch(20.1% 0.044 62.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031828

    #031828

    oklch(20.1% 0.043 243.4)

  • #001A20

    #001A20

    oklch(20% 0.035 214.7)

  • #101429

    #101429

    oklch(20% 0.042 273.8)

Open the analogous palette in the generator

Split complementary

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

  • #031828

    #031828

    oklch(20.1% 0.043 243.4)

  • #260E09

    #260E09

    oklch(20% 0.042 33.1)

  • #1D1600

    #1D1600

    oklch(20.3% 0.042 93.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031828

    #031828

    oklch(20.1% 0.043 243.4)

  • #260D14

    #260D14

    oklch(20.1% 0.043 4)

  • #131903

    #131903

    oklch(20.1% 0.042 122.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031828

    #031828

    oklch(20.1% 0.043 243.4)

  • #220E1E

    #220E1E

    oklch(20.1% 0.043 335)

  • #241101

    #241101

    oklch(20.1% 0.044 62.3)

  • #041C0D

    #041C0D

    oklch(20.2% 0.043 153.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #031828 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.