#313A66

Closest named color: Prussian Blue (#1D3557). oklch(36.3% 0.077 273.3), rgb(49, 58, 102).

Aa

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

About this color

#313A66 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.077 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.042 away. White text reads best on it, at 10.89:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.92:1
White text10.89:1

Values

HEX#313A66
RGBrgb(49, 58, 102)
HSLhsl(230, 35%, 30%)
OKLCHoklch(36.3% 0.077 273.3)

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 #313A66 10.89:1 AAA Lc -99.0 Preferred for body text
Black text on #313A66 1.92:1 Fails Lc 8.8 Not readable
#313A66 text on white 10.89:1 AAA Lc 95.1 Preferred for body text
#313A66 text on black 1.92:1 Fails Lc -7.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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D2D8EF

    oklch(88.5% 0.032 274.1)

  4. Step 300

    300

    #B4BFE7

    oklch(81% 0.058 273)

  5. Step 400

    400

    #8E9DDA

    oklch(70.8% 0.091 273.2)

  6. Step 500

    500

    #7383D0

    oklch(63% 0.117 273.7)

  7. Step 600

    600

    #5C6CBE

    oklch(55.7% 0.128 273.2)

  8. Step 700

    700

    #4C59A3

    oklch(49% 0.119 273.7)

  9. Step 800

    800

    #3E4984

    oklch(42.6% 0.098 273.6)

  10. Step 900

    900 (this color)

    #313A66

    oklch(36.3% 0.077 273.3)

  11. Step 950

    950

    #1F243E

    oklch(26.9% 0.049 274.4)

Export this scale for Tailwind in the Tailwind colors tool

#313A66 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)#293F680.017
Deuteranopia (no green cones)#243B650.018
Tritanopia (no blue cones)#1C434B0.067
Achromatopsia (no color)#3D3D3D0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A66

    #313A66

    oklch(36.3% 0.077 273.3)

  • #4B3C00

    #4B3C00

    oklch(36.2% 0.074 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A66

    #313A66

    oklch(36.3% 0.077 273.3)

  • #104263

    #104263

    oklch(36.4% 0.077 242.7)

  • #46335F

    #46335F

    oklch(36.3% 0.077 302.7)

Open the analogous palette in the generator

Split complementary

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

  • #313A66

    #313A66

    oklch(36.3% 0.077 273.3)

  • #5A3408

    #5A3408

    oklch(36.5% 0.077 63.5)

  • #364410

    #364410

    oklch(36.2% 0.076 123.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A66

    #313A66

    oklch(36.3% 0.077 273.3)

  • #602D22

    #602D22

    oklch(36.4% 0.077 33.4)

  • #16492A

    #16492A

    oklch(36.2% 0.076 153.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A66

    #313A66

    oklch(36.3% 0.077 273.3)

  • #5E2B3A

    #5E2B3A

    oklch(36.3% 0.076 3)

  • #4B3C00

    #4B3C00

    oklch(36.2% 0.074 93)

  • #004941

    #004941

    oklch(36.4% 0.065 182.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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