#31486D

Closest named color: Dark Grey Blue (#29465B). oklch(40.1% 0.069 259.6), rgb(49, 72, 109).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.069)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.27:1
White text9.21:1

Values

HEX#31486D
RGBrgb(49, 72, 109)
HSLhsl(217, 38%, 31%)
OKLCHoklch(40.1% 0.069 259.6)

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 #31486D 9.21:1 AAA Lc -95.5 Preferred for body text
Black text on #31486D 2.27:1 Fails Lc 12.8 Not readable
#31486D text on white 9.21:1 AAA Lc 91.1 Preferred for body text
#31486D text on black 2.27:1 Fails Lc -11.2 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CEDAED

    oklch(88.5% 0.029 259.6)

  4. Step 300

    300

    #ADC2E3

    oklch(80.9% 0.052 259.4)

  5. Step 400

    400

    #82A2D5

    oklch(70.8% 0.083 259.6)

  6. Step 500

    500

    #628AC9

    oklch(63.1% 0.106 259.2)

  7. Step 600

    600

    #4973B6

    oklch(55.6% 0.115 259.4)

  8. Step 700

    700

    #3A609D

    oklch(49.1% 0.108 259.5)

  9. Step 800

    800

    #314F7F

    oklch(42.8% 0.088 259.4)

  10. Step 900

    900 (this color)

    #31486D

    oklch(40.1% 0.069 259.6)

  11. Step 950

    950

    #19273C

    oklch(27.1% 0.044 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#31486D 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)#394B6F0.015
Deuteranopia (no green cones)#32456C0.009
Tritanopia (no blue cones)#1250550.062
Achromatopsia (no color)#4848480.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #31486D

    #31486D

    oklch(40.1% 0.069 259.6)

  • #5B4316

    #5B4316

    oklch(40% 0.069 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31486D

    #31486D

    oklch(40.1% 0.069 259.6)

  • #154E66

    #154E66

    oklch(39.9% 0.07 230.6)

  • #47416B

    #47416B

    oklch(40.1% 0.07 289.4)

Open the analogous palette in the generator

Split complementary

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

  • #31486D

    #31486D

    oklch(40.1% 0.069 259.6)

  • #663C24

    #663C24

    oklch(40.1% 0.07 49.6)

  • #4A4B1A

    #4A4B1A

    oklch(40.1% 0.069 110.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31486D

    #31486D

    oklch(40.1% 0.069 259.6)

  • #683838

    #683838

    oklch(40.1% 0.068 20.5)

  • #33512C

    #33512C

    oklch(40.1% 0.07 139.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31486D

    #31486D

    oklch(40.1% 0.069 259.6)

  • #63384D

    #63384D

    oklch(40.1% 0.068 349.9)

  • #5B4316

    #5B4316

    oklch(40% 0.069 80)

  • #165442

    #165442

    oklch(40.2% 0.069 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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