#313353

Closest named color: Prussian Blue (#1D3557). oklch(33.5% 0.056 280.2), rgb(49, 51, 83).

Aa

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

About this color

#313353 is a dark, muted purple. In OKLCH its lightness is 33%, its chroma 0.056 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.028 away. White text reads best on it, at 12.14:1.

Hue familyPurples
Lightnessdark (33%)
Chromamuted (0.056)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.72:1
White text12.14:1

Values

HEX#313353
RGBrgb(49, 51, 83)
HSLhsl(236, 26%, 26%)
OKLCHoklch(33.5% 0.056 280.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 #313353 12.14:1 AAA Lc -101.2 Preferred for body text
Black text on #313353 1.72:1 Fails Lc 0.0 Not readable
#313353 text on white 12.14:1 AAA Lc 97.7 Preferred for body text
#313353 text on black 1.72: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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8E9

    oklch(88.6% 0.023 280.6)

  4. Step 300

    300

    #BBBEDC

    oklch(80.9% 0.042 280.9)

  5. Step 400

    400

    #989CCB

    oklch(70.6% 0.069 280.7)

  6. Step 500

    500

    #7F84BD

    oklch(63.2% 0.086 279.8)

  7. Step 600

    600

    #696DA9

    oklch(55.7% 0.093 280)

  8. Step 700

    700

    #575A91

    oklch(49% 0.088 280.3)

  9. Step 800

    800

    #474A76

    oklch(42.7% 0.073 279.9)

  10. Step 900

    900 (this color)

    #313353

    oklch(33.5% 0.056 280.2)

  11. Step 950

    950

    #232438

    oklch(26.9% 0.037 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#313353 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)#2937540.016
Deuteranopia (no green cones)#2734520.016
Tritanopia (no blue cones)#27393F0.049
Achromatopsia (no color)#3636360.056

Harmonies

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

Complementary

The opposite hue (180°).

  • #313353

    #313353

    oklch(33.5% 0.056 280.2)

  • #3D3711

    #3D3711

    oklch(33.4% 0.056 100.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313353

    #313353

    oklch(33.5% 0.056 280.2)

  • #1F3852

    #1F3852

    oklch(33.3% 0.056 250.7)

  • #402E4C

    #402E4C

    oklch(33.5% 0.056 311.1)

Open the analogous palette in the generator

Split complementary

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

  • #313353

    #313353

    oklch(33.5% 0.056 280.2)

  • #493113

    #493113

    oklch(33.5% 0.056 69.8)

  • #2D3C1C

    #2D3C1C

    oklch(33.4% 0.056 129.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313353

    #313353

    oklch(33.5% 0.056 280.2)

  • #4F2C20

    #4F2C20

    oklch(33.5% 0.056 39.6)

  • #183F2D

    #183F2D

    oklch(33.4% 0.055 161.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313353

    #313353

    oklch(33.5% 0.056 280.2)

  • #4F2A30

    #4F2A30

    oklch(33.5% 0.055 10.1)

  • #3D3711

    #3D3711

    oklch(33.4% 0.056 100.3)

  • #03403D

    #03403D

    oklch(33.6% 0.057 189.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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