#031835

Closest named color: Rich Black (#0D1B2A). oklch(21.2% 0.064 256.3), rgb(3, 24, 53).

Aa

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

About this color

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

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

Values

HEX#031835
RGBrgb(3, 24, 53)
HSLhsl(215, 89%, 11%)
OKLCHoklch(21.2% 0.064 256.3)

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 #031835 17.70:1 AAA Lc -106.6 Preferred for body text
Black text on #031835 1.18:1 Fails Lc 0.0 Not readable
#031835 text on white 17.70:1 AAA Lc 104.3 Preferred for body text
#031835 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C8DBF5

    oklch(88.5% 0.041 256.2)

  4. Step 300

    300

    #A1C3F1

    oklch(80.8% 0.075 256.1)

  5. Step 400

    400

    #6DA3EB

    oklch(70.8% 0.121 256)

  6. Step 500

    500

    #4489E4

    oklch(63% 0.154 256.3)

  7. Step 600

    600

    #2271D2

    oklch(55.5% 0.167 256.2)

  8. Step 700

    700

    #145EB6

    oklch(49% 0.156 256.3)

  9. Step 800

    800

    #154D93

    oklch(42.6% 0.129 256.4)

  10. Step 900

    900

    #194176

    oklch(37.7% 0.101 256.6)

  11. Step 950

    950 (this color)

    #031835

    oklch(21.2% 0.064 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#031835 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)#081B360.013
Deuteranopia (no green cones)#0016340.009
Tritanopia (no blue cones)#001F230.049
Achromatopsia (no color)#1818180.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #031835

    #031835

    oklch(21.2% 0.064 256.3)

  • #241500

    #241500

    oklch(21.1% 0.044 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031835

    #031835

    oklch(21.2% 0.064 256.3)

  • #001C27

    #001C27

    oklch(21.1% 0.041 227.1)

  • #171234

    #171234

    oklch(21.1% 0.064 286.2)

Open the analogous palette in the generator

Split complementary

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

  • #031835

    #031835

    oklch(21.2% 0.064 256.3)

  • #2E0E00

    #2E0E00

    oklch(21.3% 0.059 46.7)

  • #1B1A00

    #1B1A00

    oklch(21.2% 0.046 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031835

    #031835

    oklch(21.2% 0.064 256.3)

  • #30090E

    #30090E

    oklch(21.2% 0.063 17)

  • #091F00

    #091F00

    oklch(21.3% 0.064 136.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031835

    #031835

    oklch(21.2% 0.064 256.3)

  • #2C0A1F

    #2C0A1F

    oklch(21.3% 0.063 345.8)

  • #241500

    #241500

    oklch(21.1% 0.044 75.5)

  • #001F14

    #001F14

    oklch(21.2% 0.044 166)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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