#313980

Closest named color: Dark Slate Blue (#483D8B). oklch(37.9% 0.119 274.4), rgb(49, 57, 128).

Aa

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

About this color

#313980 is a dark, moderately saturated blue. In OKLCH its lightness is 38%, its chroma 0.119 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.043 away. White text reads best on it, at 10.35:1.

Hue familyBlues
Lightnessdark (38%)
Chromamoderately saturated (0.119)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.02:1
White text10.35:1

Values

HEX#313980
RGBrgb(49, 57, 128)
HSLhsl(234, 45%, 35%)
OKLCHoklch(37.9% 0.119 274.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 #313980 10.35:1 AAA Lc -97.8 Preferred for body text
Black text on #313980 2.02:1 Fails Lc 10.2 Not readable
#313980 text on white 10.35:1 AAA Lc 93.8 Preferred for body text
#313980 text on black 2.02:1 Fails Lc -8.8 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FC

    oklch(93.6% 0.026 274.1)

  3. Step 200

    200

    #CFD7FB

    oklch(88.5% 0.05 275.4)

  4. Step 300

    300

    #AFBDFB

    oklch(81% 0.089 274.4)

  5. Step 400

    400

    #8698F9

    oklch(70.7% 0.143 274.2)

  6. Step 500

    500

    #6B7BF5

    oklch(63.1% 0.181 274.4)

  7. Step 600

    600

    #5560E4

    oklch(55.6% 0.198 274.4)

  8. Step 700

    700

    #464EC6

    oklch(49% 0.184 274.5)

  9. Step 800

    800

    #3941A0

    oklch(42.7% 0.152 274.3)

  10. Step 900

    900 (this color)

    #313980

    oklch(37.9% 0.119 274.4)

  11. Step 950

    950

    #1C224A

    oklch(27% 0.074 274)

Export this scale for Tailwind in the Tailwind colors tool

#313980 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)#0C44820.041
Deuteranopia (no green cones)#003D7F0.041
Tritanopia (no blue cones)#0049560.103
Achromatopsia (no color)#4040400.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #313980

    #313980

    oklch(37.9% 0.119 274.4)

  • #504100

    #504100

    oklch(38% 0.078 94.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313980

    #313980

    oklch(37.9% 0.119 274.4)

  • #004670

    #004670

    oklch(38% 0.094 244)

  • #512D74

    #512D74

    oklch(37.9% 0.119 304.7)

Open the analogous palette in the generator

Split complementary

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

  • #313980

    #313980

    oklch(37.9% 0.119 274.4)

  • #613700

    #613700

    oklch(38% 0.086 64.7)

  • #374A00

    #374A00

    oklch(37.9% 0.095 124.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313980

    #313980

    oklch(37.9% 0.119 274.4)

  • #74220F

    #74220F

    oklch(37.9% 0.119 34.2)

  • #00502A

    #00502A

    oklch(37.9% 0.094 154.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313980

    #313980

    oklch(37.9% 0.119 274.4)

  • #721E3A

    #721E3A

    oklch(37.9% 0.119 4.6)

  • #504100

    #504100

    oklch(38% 0.078 94.1)

  • #004E46

    #004E46

    oklch(38.1% 0.068 183.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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