#31455C

Closest named color: Dark Grey Blue (#29465B). oklch(38.4% 0.047 252.5), rgb(49, 69, 92).

Aa

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

About this color

#31455C is a dark, muted blue. In OKLCH its lightness is 38%, its chroma 0.047 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.010 away. White text reads best on it, at 9.82:1.

Hue familyBlues
Lightnessdark (38%)
Chromamuted (0.047)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.13:1
White text9.82:1

Values

HEX#31455C
RGBrgb(49, 69, 92)
HSLhsl(212, 30%, 28%)
OKLCHoklch(38.4% 0.047 252.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 #31455C 9.82:1 AAA Lc -96.9 Preferred for body text
Black text on #31455C 2.13:1 Fails Lc 11.2 Not readable
#31455C text on white 9.82:1 AAA Lc 92.8 Preferred for body text
#31455C text on black 2.13:1 Fails Lc -9.7 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 900.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE6

    oklch(88.4% 0.02 252.9)

  4. Step 300

    300

    #B1C3D7

    oklch(81% 0.035 251)

  5. Step 400

    400

    #88A3C3

    oklch(70.6% 0.056 252.9)

  6. Step 500

    500

    #6A8CB4

    oklch(63% 0.072 252.9)

  7. Step 600

    600

    #5176A0

    oklch(55.6% 0.078 252.3)

  8. Step 700

    700

    #426389

    oklch(49.1% 0.072 252.7)

  9. Step 800

    800

    #36516F

    oklch(42.7% 0.06 251.8)

  10. Step 900

    900 (this color)

    #31455C

    oklch(38.4% 0.047 252.5)

  11. Step 950

    950

    #1C2735

    oklch(26.9% 0.03 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#31455C 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)#3C465D0.016
Deuteranopia (no green cones)#37425C0.012
Tritanopia (no blue cones)#214A4D0.040
Achromatopsia (no color)#4343430.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #31455C

    #31455C

    oklch(38.4% 0.047 252.5)

  • #533F26

    #533F26

    oklch(38.3% 0.047 71.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31455C

    #31455C

    oklch(38.4% 0.047 252.5)

  • #244956

    #244956

    oklch(38.4% 0.048 223.2)

  • #3F405C

    #3F405C

    oklch(38.3% 0.048 282.3)

Open the analogous palette in the generator

Split complementary

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

  • #31455C

    #31455C

    oklch(38.4% 0.047 252.5)

  • #593B2F

    #593B2F

    oklch(38.4% 0.047 42.6)

  • #484426

    #484426

    oklch(38.3% 0.046 101.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31455C

    #31455C

    oklch(38.4% 0.047 252.5)

  • #5A393C

    #5A393C

    oklch(38.4% 0.047 13.6)

  • #3A492F

    #3A492F

    oklch(38.5% 0.046 132.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31455C

    #31455C

    oklch(38.4% 0.047 252.5)

  • #55394A

    #55394A

    oklch(38.3% 0.047 342.5)

  • #533F26

    #533F26

    oklch(38.3% 0.047 71.8)

  • #2B4B3C

    #2B4B3C

    oklch(38.3% 0.046 162.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31455C 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.