#313A68

Closest named color: Prussian Blue (#1D3557). oklch(36.4% 0.08 273.4), rgb(49, 58, 104).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.93:1
White text10.84:1

Values

HEX#313A68
RGBrgb(49, 58, 104)
HSLhsl(230, 36%, 30%)
OKLCHoklch(36.4% 0.08 273.4)

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 #313A68 10.84:1 AAA Lc -98.9 Preferred for body text
Black text on #313A68 1.93:1 Fails Lc 8.9 Not readable
#313A68 text on white 10.84:1 AAA Lc 95.0 Preferred for body text
#313A68 text on black 1.93:1 Fails Lc -7.6 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F0

    oklch(88.5% 0.034 274.5)

  4. Step 300

    300

    #B4BFE8

    oklch(81% 0.059 273.2)

  5. Step 400

    400

    #8D9CDD

    oklch(70.6% 0.097 273.7)

  6. Step 500

    500

    #7283D3

    oklch(63.1% 0.122 273.3)

  7. Step 600

    600

    #5B6BC1

    oklch(55.6% 0.134 273.4)

  8. Step 700

    700

    #4B59A6

    oklch(49.1% 0.124 273.3)

  9. Step 800

    800

    #3E4987

    oklch(42.8% 0.103 273.7)

  10. Step 900

    900 (this color)

    #313A68

    oklch(36.4% 0.08 273.4)

  11. Step 950

    950

    #1F243F

    oklch(27% 0.051 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#313A68 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)#28406A0.020
Deuteranopia (no green cones)#223B670.020
Tritanopia (no blue cones)#1A444C0.071
Achromatopsia (no color)#3D3D3D0.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #313A68

    #313A68

    oklch(36.4% 0.08 273.4)

  • #4C3D00

    #4C3D00

    oklch(36.5% 0.075 93.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313A68

    #313A68

    oklch(36.4% 0.08 273.4)

  • #0D4265

    #0D4265

    oklch(36.5% 0.08 243.4)

  • #473260

    #473260

    oklch(36.3% 0.08 303.7)

Open the analogous palette in the generator

Split complementary

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

  • #313A68

    #313A68

    oklch(36.4% 0.08 273.4)

  • #5B3304

    #5B3304

    oklch(36.4% 0.08 62.8)

  • #36450D

    #36450D

    oklch(36.5% 0.08 123.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313A68

    #313A68

    oklch(36.4% 0.08 273.4)

  • #612C21

    #612C21

    oklch(36.3% 0.08 33.1)

  • #134A29

    #134A29

    oklch(36.4% 0.08 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313A68

    #313A68

    oklch(36.4% 0.08 273.4)

  • #602A3A

    #602A3A

    oklch(36.5% 0.08 3.2)

  • #4C3D00

    #4C3D00

    oklch(36.5% 0.075 93.2)

  • #004942

    #004942

    oklch(36.4% 0.065 184)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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