#313B65

Closest named color: Prussian Blue (#1D3557). oklch(36.5% 0.074 272.2), rgb(49, 59, 101).

Aa

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

About this color

#313B65 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.074 and its hue 272°. 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.80:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.074)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.94:1
White text10.80:1

Values

HEX#313B65
RGBrgb(49, 59, 101)
HSLhsl(228, 35%, 29%)
OKLCHoklch(36.5% 0.074 272.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 #313B65 10.80:1 AAA Lc -98.8 Preferred for body text
Black text on #313B65 1.94:1 Fails Lc 9.0 Not readable
#313B65 text on white 10.80:1 AAA Lc 94.9 Preferred for body text
#313B65 text on black 1.94:1 Fails Lc -7.7 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

    #D2D8EE

    oklch(88.4% 0.031 273.6)

  4. Step 300

    300

    #B4BFE5

    oklch(80.9% 0.055 272.4)

  5. Step 400

    400

    #8D9DD8

    oklch(70.6% 0.089 272.3)

  6. Step 500

    500

    #7284CE

    oklch(63.1% 0.114 272.4)

  7. Step 600

    600

    #5B6DBB

    oklch(55.7% 0.123 272.1)

  8. Step 700

    700

    #4B5AA1

    oklch(49% 0.115 272.5)

  9. Step 800

    800

    #3D4A82

    oklch(42.6% 0.094 272)

  10. Step 900

    900 (this color)

    #313B65

    oklch(36.5% 0.074 272.2)

  11. Step 950

    950

    #1E253D

    oklch(27% 0.046 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#313B65 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)#2B40670.016
Deuteranopia (no green cones)#263B640.015
Tritanopia (no blue cones)#1C444B0.066
Achromatopsia (no color)#3D3D3D0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #313B65

    #313B65

    oklch(36.5% 0.074 272.2)

  • #4C3D01

    #4C3D01

    oklch(36.5% 0.074 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313B65

    #313B65

    oklch(36.5% 0.074 272.2)

  • #134262

    #134262

    oklch(36.4% 0.074 242.9)

  • #46345E

    #46345E

    oklch(36.5% 0.073 302.7)

Open the analogous palette in the generator

Split complementary

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

  • #313B65

    #313B65

    oklch(36.5% 0.074 272.2)

  • #59340E

    #59340E

    oklch(36.3% 0.073 61.9)

  • #384412

    #384412

    oklch(36.4% 0.074 121.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313B65

    #313B65

    oklch(36.5% 0.074 272.2)

  • #5F2E25

    #5F2E25

    oklch(36.4% 0.074 31.7)

  • #1A492A

    #1A492A

    oklch(36.4% 0.074 152.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313B65

    #313B65

    oklch(36.5% 0.074 272.2)

  • #5D2C3B

    #5D2C3B

    oklch(36.4% 0.074 2)

  • #4C3D01

    #4C3D01

    oklch(36.5% 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 #313B65, closest first.

Similar named colors

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

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