#31456D

Closest named color: Dark Grey Blue (#29465B). oklch(39.3% 0.073 263.2), rgb(49, 69, 109).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.20:1
White text9.53:1

Values

HEX#31456D
RGBrgb(49, 69, 109)
HSLhsl(220, 38%, 31%)
OKLCHoklch(39.3% 0.073 263.2)

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 #31456D 9.53:1 AAA Lc -96.2 Preferred for body text
Black text on #31456D 2.20:1 Fails Lc 12.0 Not readable
#31456D text on white 9.53:1 AAA Lc 92.0 Preferred for body text
#31456D text on black 2.20:1 Fails Lc -10.4 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF5

    oklch(93.6% 0.016 262.8)

  3. Step 200

    200

    #CFDAEE

    oklch(88.6% 0.03 262.5)

  4. Step 300

    300

    #AEC1E5

    oklch(80.9% 0.055 263.2)

  5. Step 400

    400

    #84A1D8

    oklch(70.8% 0.087 262.8)

  6. Step 500

    500

    #6688CD

    oklch(63.1% 0.111 263.5)

  7. Step 600

    600

    #4D71BA

    oklch(55.6% 0.121 263.2)

  8. Step 700

    700

    #3E5EA0

    oklch(49% 0.113 263.3)

  9. Step 800

    800

    #334D82

    oklch(42.6% 0.094 263.2)

  10. Step 900

    900 (this color)

    #31456D

    oklch(39.3% 0.073 263.2)

  11. Step 950

    950

    #1A263D

    oklch(27% 0.046 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#31456D 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)#35486F0.011
Deuteranopia (no green cones)#2E436C0.008
Tritanopia (no blue cones)#134E540.065
Achromatopsia (no color)#4545450.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #31456D

    #31456D

    oklch(39.3% 0.073 263.2)

  • #59420E

    #59420E

    oklch(39.4% 0.073 83.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31456D

    #31456D

    oklch(39.3% 0.073 263.2)

  • #114C67

    #114C67

    oklch(39.4% 0.073 233.5)

  • #483E69

    #483E69

    oklch(39.4% 0.072 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #31456D

    #31456D

    oklch(39.3% 0.073 263.2)

  • #643A1D

    #643A1D

    oklch(39.3% 0.073 53.5)

  • #464A16

    #464A16

    oklch(39.4% 0.073 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31456D

    #31456D

    oklch(39.3% 0.073 263.2)

  • #683533

    #683533

    oklch(39.4% 0.073 23.3)

  • #2D502B

    #2D502B

    oklch(39.4% 0.073 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31456D

    #31456D

    oklch(39.3% 0.073 263.2)

  • #643449

    #643449

    oklch(39.3% 0.074 353.4)

  • #59420E

    #59420E

    oklch(39.4% 0.073 83.2)

  • #065242

    #065242

    oklch(39.2% 0.073 173.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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