#313E5F

Closest named color: Dark Grey Blue (#29465B). oklch(36.8% 0.06 267.1), rgb(49, 62, 95).

Aa

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

About this color

#313E5F is a dark, muted blue. In OKLCH its lightness is 37%, its chroma 0.060 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.029 away. White text reads best on it, at 10.57:1.

Hue familyBlues
Lightnessdark (37%)
Chromamuted (0.060)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text1.98:1
White text10.57:1

Values

HEX#313E5F
RGBrgb(49, 62, 95)
HSLhsl(223, 32%, 28%)
OKLCHoklch(36.8% 0.06 267.1)

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 #313E5F 10.57:1 AAA Lc -98.4 Preferred for body text
Black text on #313E5F 1.98:1 Fails Lc 9.4 Not readable
#313E5F text on white 10.57:1 AAA Lc 94.5 Preferred for body text
#313E5F text on black 1.98:1 Fails Lc -8.1 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

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B4C0DE

    oklch(80.8% 0.044 268.1)

  5. Step 400

    400

    #8DA0CE

    oklch(70.8% 0.071 267.1)

  6. Step 500

    500

    #7188C1

    oklch(63.2% 0.09 267)

  7. Step 600

    600

    #5971AE

    oklch(55.7% 0.099 266.9)

  8. Step 700

    700

    #495E95

    oklch(49% 0.092 267.1)

  9. Step 800

    800

    #3C4D79

    oklch(42.7% 0.077 267.1)

  10. Step 900

    900 (this color)

    #313E5F

    oklch(36.8% 0.06 267.1)

  11. Step 950

    950

    #1E2639

    oklch(27% 0.037 266.4)

Export this scale for Tailwind in the Tailwind colors tool

#313E5F 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)#3241600.010
Deuteranopia (no green cones)#2D3D5E0.007
Tritanopia (no blue cones)#20454A0.054
Achromatopsia (no color)#3F3F3F0.060

Harmonies

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

Complementary

The opposite hue (180°).

  • #313E5F

    #313E5F

    oklch(36.8% 0.06 267.1)

  • #4D3D16

    #4D3D16

    oklch(36.8% 0.06 86.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313E5F

    #313E5F

    oklch(36.8% 0.06 267.1)

  • #1C445B

    #1C445B

    oklch(36.9% 0.06 236.8)

  • #43385B

    #43385B

    oklch(36.8% 0.06 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #313E5F

    #313E5F

    oklch(36.8% 0.06 267.1)

  • #57371E

    #57371E

    oklch(36.9% 0.059 57.5)

  • #3D431C

    #3D431C

    oklch(36.7% 0.06 116.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313E5F

    #313E5F

    oklch(36.8% 0.06 267.1)

  • #5B322E

    #5B322E

    oklch(36.8% 0.06 26.3)

  • #29482C

    #29482C

    oklch(36.9% 0.06 146.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313E5F

    #313E5F

    oklch(36.8% 0.06 267.1)

  • #583140

    #583140

    oklch(36.7% 0.06 355.9)

  • #4D3D16

    #4D3D16

    oklch(36.8% 0.06 86.7)

  • #12493F

    #12493F

    oklch(36.7% 0.059 178.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #313E5F 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.