#31495E

Closest named color: Dark Grey Blue (#29465B). oklch(39.5% 0.046 245.7), rgb(49, 73, 94).

Aa

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

About this color

#31495E is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.046 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.015 away. White text reads best on it, at 9.35:1.

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.046)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.24:1
White text9.35:1

Values

HEX#31495E
RGBrgb(49, 73, 94)
HSLhsl(208, 31%, 28%)
OKLCHoklch(39.5% 0.046 245.7)

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 #31495E 9.35:1 AAA Lc -95.9 Preferred for body text
Black text on #31495E 2.24:1 Fails Lc 12.4 Not readable
#31495E text on white 9.35:1 AAA Lc 91.5 Preferred for body text
#31495E text on black 2.24:1 Fails Lc -10.8 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EBF0

    oklch(93.7% 0.009 242.8)

  3. Step 200

    200

    #CFDBE5

    oklch(88.5% 0.019 243)

  4. Step 300

    300

    #AFC3D6

    oklch(80.8% 0.035 246.9)

  5. Step 400

    400

    #84A5C2

    oklch(70.8% 0.056 245.2)

  6. Step 500

    500

    #658EB2

    oklch(63.1% 0.071 245.7)

  7. Step 600

    600

    #4B789E

    oklch(55.6% 0.077 245.3)

  8. Step 700

    700

    #3C6587

    oklch(49.2% 0.072 245)

  9. Step 800

    800

    #32526E

    oklch(42.6% 0.06 246.2)

  10. Step 900

    900 (this color)

    #31495E

    oklch(39.5% 0.046 245.7)

  11. Step 950

    950

    #1A2834

    oklch(27% 0.03 245.1)

Export this scale for Tailwind in the Tailwind colors tool

#31495E 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)#40495F0.021
Deuteranopia (no green cones)#3B455E0.017
Tritanopia (no blue cones)#1F4E500.039
Achromatopsia (no color)#4747470.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #31495E

    #31495E

    oklch(39.5% 0.046 245.7)

  • #58412B

    #58412B

    oklch(39.5% 0.047 64.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31495E

    #31495E

    oklch(39.5% 0.046 245.7)

  • #264D56

    #264D56

    oklch(39.6% 0.047 214.6)

  • #3F445F

    #3F445F

    oklch(39.4% 0.046 276)

Open the analogous palette in the generator

Split complementary

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

  • #31495E

    #31495E

    oklch(39.5% 0.046 245.7)

  • #5D3D35

    #5D3D35

    oklch(39.5% 0.047 34.6)

  • #4E4629

    #4E4629

    oklch(39.4% 0.046 94.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31495E

    #31495E

    oklch(39.5% 0.046 245.7)

  • #5C3C43

    #5C3C43

    oklch(39.5% 0.046 5.1)

  • #404B2F

    #404B2F

    oklch(39.5% 0.047 125.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31495E

    #31495E

    oklch(39.5% 0.046 245.7)

  • #563D50

    #563D50

    oklch(39.5% 0.046 335.3)

  • #58412B

    #58412B

    oklch(39.5% 0.047 64.5)

  • #314E3C

    #314E3C

    oklch(39.5% 0.046 156.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31495E 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.