#313A65

Closest named color: Prussian Blue (#1D3557). oklch(36.2% 0.075 273.2), rgb(49, 58, 101).

Aa

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

About this color

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

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

Values

HEX#313A65
RGBrgb(49, 58, 101)
HSLhsl(230, 35%, 29%)
OKLCHoklch(36.2% 0.075 273.2)

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 #313A65 10.91:1 AAA Lc -99.0 Preferred for body text
Black text on #313A65 1.92:1 Fails Lc 8.7 Not readable
#313A65 text on white 10.91:1 AAA Lc 95.2 Preferred for body text
#313A65 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

    #B4BFE6

    oklch(80.9% 0.056 272.7)

  5. Step 400

    400

    #8E9DD9

    oklch(70.7% 0.09 273.1)

  6. Step 500

    500

    #7384CF

    oklch(63.2% 0.115 273)

  7. Step 600

    600

    #5C6CBC

    oklch(55.6% 0.125 273.2)

  8. Step 700

    700

    #4C5AA2

    oklch(49.2% 0.116 273.1)

  9. Step 800

    800

    #3E4A83

    oklch(42.7% 0.095 272.8)

  10. Step 900

    900 (this color)

    #313A65

    oklch(36.2% 0.075 273.2)

  11. Step 950

    950

    #1F243E

    oklch(26.9% 0.049 274.4)

Export this scale for Tailwind in the Tailwind colors tool

#313A65 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)#293F670.017
Deuteranopia (no green cones)#243B640.018
Tritanopia (no blue cones)#1D434A0.067
Achromatopsia (no color)#3D3D3D0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A65

    #313A65

    oklch(36.2% 0.075 273.2)

  • #4B3C00

    #4B3C00

    oklch(36.2% 0.074 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A65

    #313A65

    oklch(36.2% 0.075 273.2)

  • #124162

    #124162

    oklch(36.1% 0.076 243.8)

  • #46335E

    #46335E

    oklch(36.3% 0.075 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #313A65

    #313A65

    oklch(36.2% 0.075 273.2)

  • #59340A

    #59340A

    oklch(36.3% 0.075 63.6)

  • #364411

    #364411

    oklch(36.2% 0.076 123.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A65

    #313A65

    oklch(36.2% 0.075 273.2)

  • #5F2D23

    #5F2D23

    oklch(36.2% 0.075 32.6)

  • #17492A

    #17492A

    oklch(36.3% 0.076 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A65

    #313A65

    oklch(36.2% 0.075 273.2)

  • #5D2B3A

    #5D2B3A

    oklch(36.2% 0.075 2.5)

  • #4B3C00

    #4B3C00

    oklch(36.2% 0.074 93)

  • #004841

    #004841

    oklch(36.1% 0.064 183.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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