#31405C

Closest named color: Dark Grey Blue (#29465B). oklch(37.1% 0.052 262.4), rgb(49, 64, 92).

Aa

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

About this color

#31405C is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.052 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.021 away. White text reads best on it, at 10.40:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.052)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.01:1
White text10.40:1

Values

HEX#31405C
RGBrgb(49, 64, 92)
HSLhsl(219, 30%, 28%)
OKLCHoklch(37.1% 0.052 262.4)

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 #31405C 10.40:1 AAA Lc -98.1 Preferred for body text
Black text on #31405C 2.01:1 Fails Lc 9.8 Not readable
#31405C text on white 10.40:1 AAA Lc 94.1 Preferred for body text
#31405C text on black 2.01:1 Fails Lc -8.5 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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D1D9E8

    oklch(88.4% 0.022 263.2)

  4. Step 300

    300

    #B3C1DB

    oklch(80.9% 0.04 262.9)

  5. Step 400

    400

    #8CA1C8

    oklch(70.7% 0.062 262.7)

  6. Step 500

    500

    #6F8ABB

    oklch(63.2% 0.081 262)

  7. Step 600

    600

    #5773A7

    oklch(55.6% 0.088 262.2)

  8. Step 700

    700

    #47608F

    oklch(49% 0.082 262.4)

  9. Step 800

    800

    #3B4F74

    oklch(42.8% 0.067 262.2)

  10. Step 900

    900 (this color)

    #31405C

    oklch(37.1% 0.052 262.4)

  11. Step 950

    950

    #1E2637

    oklch(26.9% 0.034 264.8)

Export this scale for Tailwind in the Tailwind colors tool

#31405C 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)#36425D0.010
Deuteranopia (no green cones)#313E5B0.006
Tritanopia (no blue cones)#21464A0.047
Achromatopsia (no color)#4040400.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #31405C

    #31405C

    oklch(37.1% 0.052 262.4)

  • #4E3D1E

    #4E3D1E

    oklch(37.1% 0.052 81.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31405C

    #31405C

    oklch(37.1% 0.052 262.4)

  • #204557

    #204557

    oklch(37.1% 0.052 231.6)

  • #413B5A

    #413B5A

    oklch(37.2% 0.053 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #31405C

    #31405C

    oklch(37.1% 0.052 262.4)

  • #563825

    #563825

    oklch(37.1% 0.052 52.8)

  • #404321

    #404321

    oklch(37.1% 0.053 113.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31405C

    #31405C

    oklch(37.1% 0.052 262.4)

  • #593533

    #593533

    oklch(37.2% 0.052 23.3)

  • #30472D

    #30472D

    oklch(37.1% 0.052 141.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31405C

    #31405C

    oklch(37.1% 0.052 262.4)

  • #563443

    #563443

    oklch(37.1% 0.054 352)

  • #4E3D1E

    #4E3D1E

    oklch(37.1% 0.052 81.1)

  • #1E493D

    #1E493D

    oklch(37.1% 0.053 172.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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