#313768

Closest named color: Prussian Blue (#1D3557). oklch(35.7% 0.085 276), rgb(49, 55, 104).

Aa

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

About this color

#313768 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.085 and its hue 276°. 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 11.18:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.085)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.87:1
White text11.18:1

Values

HEX#313768
RGBrgb(49, 55, 104)
HSLhsl(233, 36%, 30%)
OKLCHoklch(35.7% 0.085 276)

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 #313768 11.18:1 AAA Lc -99.5 Preferred for body text
Black text on #313768 1.87:1 Fails Lc 8.2 Not readable
#313768 text on white 11.18:1 AAA Lc 95.7 Preferred for body text
#313768 text on black 1.87:1 Fails Lc 0.0 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

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F1

    oklch(88.5% 0.035 274.9)

  4. Step 300

    300

    #B5BEEA

    oklch(80.9% 0.063 275.9)

  5. Step 400

    400

    #8F9BE0

    oklch(70.7% 0.102 275.9)

  6. Step 500

    500

    #7581D7

    oklch(63.2% 0.13 276)

  7. Step 600

    600

    #5E69C4

    oklch(55.6% 0.14 275.7)

  8. Step 700

    700

    #4E57AA

    oklch(49.2% 0.131 275.8)

  9. Step 800

    800

    #404789

    oklch(42.6% 0.108 276.2)

  10. Step 900

    900 (this color)

    #313768

    oklch(35.7% 0.085 276)

  11. Step 950

    950

    #1F2440

    oklch(27% 0.052 274.7)

Export this scale for Tailwind in the Tailwind colors tool

#313768 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)#233D6A0.023
Deuteranopia (no green cones)#1D39670.026
Tritanopia (no blue cones)#1B414A0.074
Achromatopsia (no color)#3B3B3B0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #313768

    #313768

    oklch(35.7% 0.085 276)

  • #483C00

    #483C00

    oklch(35.8% 0.074 96.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313768

    #313768

    oklch(35.7% 0.085 276)

  • #0A3F66

    #0A3F66

    oklch(35.7% 0.085 246.6)

  • #472F5F

    #472F5F

    oklch(35.6% 0.085 305.6)

Open the analogous palette in the generator

Split complementary

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

  • #313768

    #313768

    oklch(35.7% 0.085 276)

  • #583200

    #583200

    oklch(35.7% 0.08 65.5)

  • #314408

    #314408

    oklch(35.8% 0.085 126.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313768

    #313768

    oklch(35.7% 0.085 276)

  • #612A1B

    #612A1B

    oklch(35.9% 0.084 36.2)

  • #044929

    #044929

    oklch(35.7% 0.084 156.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313768

    #313768

    oklch(35.7% 0.085 276)

  • #602736

    #602736

    oklch(35.9% 0.084 5.8)

  • #483C00

    #483C00

    oklch(35.8% 0.074 96.4)

  • #004741

    #004741

    oklch(35.8% 0.063 185.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #313768 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.