#313472

Closest named color: Marine Blue (#01386A). oklch(35.8% 0.105 277.6), rgb(49, 52, 114).

Aa

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

About this color

#313472 is a dark, moderately saturated blue. In OKLCH its lightness is 36%, its chroma 0.105 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.049 away. White text reads best on it, at 11.26:1.

Hue familyBlues
Lightnessdark (36%)
Chromamoderately saturated (0.105)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.86:1
White text11.26:1

Values

HEX#313472
RGBrgb(49, 52, 114)
HSLhsl(237, 40%, 32%)
OKLCHoklch(35.8% 0.105 277.6)

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 #313472 11.26:1 AAA Lc -99.6 Preferred for body text
Black text on #313472 1.86:1 Fails Lc 8.1 Not readable
#313472 text on white 11.26:1 AAA Lc 95.8 Preferred for body text
#313472 text on black 1.86: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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9F9

    oklch(93.6% 0.022 277.5)

  3. Step 200

    200

    #D2D7F7

    oklch(88.5% 0.044 278.4)

  4. Step 300

    300

    #B4BCF4

    oklch(80.9% 0.08 278.1)

  5. Step 400

    400

    #8E98EE

    oklch(70.7% 0.126 277.6)

  6. Step 500

    500

    #747CE8

    oklch(63.1% 0.16 277.6)

  7. Step 600

    600

    #5E62D6

    oklch(55.5% 0.174 277.6)

  8. Step 700

    700

    #4E51BA

    oklch(49.2% 0.162 277.4)

  9. Step 800

    800

    #404396

    oklch(42.8% 0.133 277.6)

  10. Step 900

    900 (this color)

    #313472

    oklch(35.8% 0.105 277.6)

  11. Step 950

    950

    #1F2246

    oklch(27% 0.066 277.4)

Export this scale for Tailwind in the Tailwind colors tool

#313472 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)#133D740.038
Deuteranopia (no green cones)#0838710.042
Tritanopia (no blue cones)#12424D0.092
Achromatopsia (no color)#3B3B3B0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #313472

    #313472

    oklch(35.8% 0.105 277.6)

  • #473C00

    #473C00

    oklch(35.7% 0.074 97.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #313472

    #313472

    oklch(35.8% 0.105 277.6)

  • #003F6C

    #003F6C

    oklch(35.9% 0.096 247.8)

  • #4C2A66

    #4C2A66

    oklch(35.8% 0.105 308.2)

Open the analogous palette in the generator

Split complementary

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

  • #313472

    #313472

    oklch(35.8% 0.105 277.6)

  • #573300

    #573300

    oklch(35.7% 0.079 67.7)

  • #2F4500

    #2F4500

    oklch(35.8% 0.093 127.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #313472

    #313472

    oklch(35.8% 0.105 277.6)

  • #68230C

    #68230C

    oklch(35.8% 0.105 37.7)

  • #00492B

    #00492B

    oklch(35.7% 0.083 158.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #313472

    #313472

    oklch(35.8% 0.105 277.6)

  • #671F32

    #671F32

    oklch(35.8% 0.104 8.1)

  • #473C00

    #473C00

    oklch(35.7% 0.074 97.5)

  • #004742

    #004742

    oklch(35.8% 0.063 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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