#031E30

Closest named color: Rich Black (#0D1B2A). oklch(22.5% 0.048 241.5), rgb(3, 30, 48).

Aa

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

About this color

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

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

Values

HEX#031E30
RGBrgb(3, 30, 48)
HSLhsl(204, 88%, 10%)
OKLCHoklch(22.5% 0.048 241.5)

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 #031E30 17.04:1 AAA Lc -106.1 Preferred for body text
Black text on #031E30 1.23:1 Fails Lc 0.0 Not readable
#031E30 text on white 17.04:1 AAA Lc 103.8 Preferred for body text
#031E30 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF4

    oklch(93.7% 0.016 239.1)

  3. Step 200

    200

    #C8DCED

    oklch(88.5% 0.032 243.7)

  4. Step 300

    300

    #A1C6E3

    oklch(80.9% 0.057 242)

  5. Step 400

    400

    #6BA8D4

    oklch(70.7% 0.09 241)

  6. Step 500

    500

    #3E91C9

    oklch(63% 0.116 241.6)

  7. Step 600

    600

    #0F7AB6

    oklch(55.5% 0.127 241.8)

  8. Step 700

    700

    #00679C

    oklch(49.2% 0.116 241.5)

  9. Step 800

    800

    #07547F

    oklch(42.7% 0.097 241.6)

  10. Step 900

    900

    #134666

    oklch(37.7% 0.076 241)

  11. Step 950

    950 (this color)

    #031E30

    oklch(22.5% 0.048 241.5)

Export this scale for Tailwind in the Tailwind colors tool

#031E30 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)#151E310.022
Deuteranopia (no green cones)#0F1A300.018
Tritanopia (no blue cones)#0022240.032
Achromatopsia (no color)#1C1C1C0.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #031E30

    #031E30

    oklch(22.5% 0.048 241.5)

  • #2B1602

    #2B1602

    oklch(22.5% 0.048 62.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #031E30

    #031E30

    oklch(22.5% 0.048 241.5)

  • #002026

    #002026

    oklch(22.4% 0.039 212.3)

  • #141A32

    #141A32

    oklch(22.6% 0.048 271.5)

Open the analogous palette in the generator

Split complementary

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

  • #031E30

    #031E30

    oklch(22.5% 0.048 241.5)

  • #2F120D

    #2F120D

    oklch(22.6% 0.049 31.3)

  • #241B00

    #241B00

    oklch(22.7% 0.046 91.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #031E30

    #031E30

    oklch(22.5% 0.048 241.5)

  • #2D111A

    #2D111A

    oklch(22.4% 0.048 1.3)

  • #181F03

    #181F03

    oklch(22.5% 0.049 121.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #031E30

    #031E30

    oklch(22.5% 0.048 241.5)

  • #281326

    #281326

    oklch(22.5% 0.047 330.5)

  • #2B1602

    #2B1602

    oklch(22.5% 0.048 62.9)

  • #072210

    #072210

    oklch(22.5% 0.048 151.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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