#313C65

Closest named color: Dark Grey Blue (#29465B). oklch(36.7% 0.072 271.1), rgb(49, 60, 101).

Aa

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

About this color

#313C65 is a dark, moderately saturated blue. In OKLCH its lightness is 37%, its chroma 0.072 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.041 away. White text reads best on it, at 10.68:1.

Hue familyBlues
Lightnessdark (37%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text1.96:1
White text10.68:1

Values

HEX#313C65
RGBrgb(49, 60, 101)
HSLhsl(227, 35%, 29%)
OKLCHoklch(36.7% 0.072 271.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 #313C65 10.68:1 AAA Lc -98.6 Preferred for body text
Black text on #313C65 1.96:1 Fails Lc 9.2 Not readable
#313C65 text on white 10.68:1 AAA Lc 94.7 Preferred for body text
#313C65 text on black 1.96:1 Fails Lc -7.9 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E6EAF5

    oklch(93.7% 0.015 270)

  3. Step 200

    200

    #D2D9EE

    oklch(88.6% 0.03 271.1)

  4. Step 300

    300

    #B3BFE5

    oklch(80.8% 0.055 271.4)

  5. Step 400

    400

    #8D9ED7

    oklch(70.8% 0.086 271.3)

  6. Step 500

    500

    #7185CD

    oklch(63.2% 0.111 271.1)

  7. Step 600

    600

    #5A6DB9

    oklch(55.5% 0.12 271.4)

  8. Step 700

    700

    #4A5BA0

    oklch(49.1% 0.112 271.3)

  9. Step 800

    800

    #3D4B82

    oklch(42.8% 0.093 271.3)

  10. Step 900

    900 (this color)

    #313C65

    oklch(36.7% 0.072 271.1)

  11. Step 950

    950

    #1E253D

    oklch(27% 0.046 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#313C65 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)#2C40670.013
Deuteranopia (no green cones)#273C640.014
Tritanopia (no blue cones)#1C454B0.066
Achromatopsia (no color)#3E3E3E0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #313C65

    #313C65

    oklch(36.7% 0.072 271.1)

  • #4D3D04

    #4D3D04

    oklch(36.7% 0.072 91.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313C65

    #313C65

    oklch(36.7% 0.072 271.1)

  • #144361

    #144361

    oklch(36.7% 0.072 241)

  • #46355F

    #46355F

    oklch(36.7% 0.073 301.6)

Open the analogous palette in the generator

Split complementary

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

  • #313C65

    #313C65

    oklch(36.7% 0.072 271.1)

  • #5A3511

    #5A3511

    oklch(36.7% 0.072 61)

  • #394514

    #394514

    oklch(36.8% 0.073 121.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313C65

    #313C65

    oklch(36.7% 0.072 271.1)

  • #5F2F27

    #5F2F27

    oklch(36.7% 0.072 30.7)

  • #1D4A2B

    #1D4A2B

    oklch(36.8% 0.073 151.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313C65

    #313C65

    oklch(36.7% 0.072 271.1)

  • #5D2D3C

    #5D2D3C

    oklch(36.6% 0.072 1.4)

  • #4D3D04

    #4D3D04

    oklch(36.7% 0.072 91.4)

  • #004A41

    #004A41

    oklch(36.7% 0.066 181.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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