#31456B

Closest named color: Dark Grey Blue (#29465B). oklch(39.2% 0.07 262.5), rgb(49, 69, 107).

Aa

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

About this color

#31456B is a dark, muted blue. In OKLCH its lightness is 39%, its chroma 0.070 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.031 away. White text reads best on it, at 9.57:1.

Hue familyBlues
Lightnessdark (39%)
Chromamuted (0.070)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.19:1
White text9.57:1

Values

HEX#31456B
RGBrgb(49, 69, 107)
HSLhsl(219, 37%, 31%)
OKLCHoklch(39.2% 0.07 262.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 #31456B 9.57:1 AAA Lc -96.3 Preferred for body text
Black text on #31456B 2.19:1 Fails Lc 11.9 Not readable
#31456B text on white 9.57:1 AAA Lc 92.1 Preferred for body text
#31456B text on black 2.19:1 Fails Lc -10.3 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CFDAED

    oklch(88.6% 0.029 261.5)

  4. Step 300

    300

    #AFC1E3

    oklch(80.9% 0.052 263.1)

  5. Step 400

    400

    #85A1D5

    oklch(70.7% 0.083 262.5)

  6. Step 500

    500

    #6689CA

    oklch(63.2% 0.106 262.1)

  7. Step 600

    600

    #4D72B7

    oklch(55.7% 0.116 262)

  8. Step 700

    700

    #3E5F9E

    oklch(49.1% 0.109 262.2)

  9. Step 800

    800

    #344E80

    oklch(42.8% 0.089 262.4)

  10. Step 900

    900 (this color)

    #31456B

    oklch(39.2% 0.07 262.5)

  11. Step 950

    950

    #1B263C

    oklch(27% 0.044 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#31456B 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)#36486D0.012
Deuteranopia (no green cones)#2F436A0.007
Tritanopia (no blue cones)#154D530.062
Achromatopsia (no color)#4545450.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #31456B

    #31456B

    oklch(39.2% 0.07 262.5)

  • #584212

    #584212

    oklch(39.3% 0.07 83.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31456B

    #31456B

    oklch(39.2% 0.07 262.5)

  • #154C65

    #154C65

    oklch(39.4% 0.07 232.5)

  • #473E68

    #473E68

    oklch(39.2% 0.07 292.7)

Open the analogous palette in the generator

Split complementary

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

  • #31456B

    #31456B

    oklch(39.2% 0.07 262.5)

  • #633A20

    #633A20

    oklch(39.2% 0.07 51.8)

  • #464918

    #464918

    oklch(39.1% 0.07 112.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31456B

    #31456B

    oklch(39.2% 0.07 262.5)

  • #663534

    #663534

    oklch(39.1% 0.07 22)

  • #2E4F2C

    #2E4F2C

    oklch(39.2% 0.069 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31456B

    #31456B

    oklch(39.2% 0.07 262.5)

  • #623549

    #623549

    oklch(39.2% 0.07 352.7)

  • #584212

    #584212

    oklch(39.3% 0.07 83.1)

  • #0E5142

    #0E5142

    oklch(39.1% 0.069 173.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31456B 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.