#315D8D

Closest named color: Light Navy Blue (#2E5A88). oklch(47% 0.092 252.2), rgb(49, 93, 141).

Aa

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

About this color

#315D8D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 47%, its chroma 0.092 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Light Navy Blue (#2E5A88), ΔE 0.012 away. White text reads best on it, at 6.81:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameLight Navy Blue (#2E5A88)
Black text3.08:1
White text6.81:1

Values

HEX#315D8D
RGBrgb(49, 93, 141)
HSLhsl(211, 48%, 37%)
OKLCHoklch(47% 0.092 252.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 #315D8D 6.81:1 AA Lc -88.3 Fine for body text
Black text on #315D8D 3.08:1 AA large text Lc 20.7 Dividers and decoration only
#315D8D text on white 6.81:1 AA Lc 83.3 Fine for body text
#315D8D text on black 3.08:1 AA large text Lc -18.6 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E4EBF2

    oklch(93.7% 0.012 248)

  3. Step 200

    200

    #CEDBEA

    oklch(88.6% 0.025 251.9)

  4. Step 300

    300

    #ACC3DD

    oklch(80.8% 0.045 251.6)

  5. Step 400

    400

    #80A4CD

    oklch(70.7% 0.072 252.1)

  6. Step 500

    500

    #608DBF

    oklch(63.1% 0.091 251.9)

  7. Step 600

    600

    #4676AC

    oklch(55.6% 0.1 252.6)

  8. Step 700

    700 (this color)

    #315D8D

    oklch(47% 0.092 252.2)

  9. Step 800

    800

    #2E5178

    oklch(42.7% 0.077 252.4)

  10. Step 900

    900

    #294360

    oklch(37.6% 0.059 252.1)

  11. Step 950

    950

    #192838

    oklch(27.1% 0.036 250.8)

Export this scale for Tailwind in the Tailwind colors tool

#315D8D 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)#48608F0.029
Deuteranopia (no green cones)#3C578C0.019
Tritanopia (no blue cones)#00686E0.074
Achromatopsia (no color)#5B5B5B0.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #315D8D

    #315D8D

    oklch(47% 0.092 252.2)

  • #7A5112

    #7A5112

    oklch(46.9% 0.092 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315D8D

    #315D8D

    oklch(47% 0.092 252.2)

  • #00657E

    #00657E

    oklch(47% 0.087 222.5)

  • #53538D

    #53538D

    oklch(46.9% 0.093 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #315D8D

    #315D8D

    oklch(47% 0.092 252.2)

  • #85482F

    #85482F

    oklch(47% 0.091 42.5)

  • #655C0F

    #655C0F

    oklch(46.9% 0.092 102.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315D8D

    #315D8D

    oklch(47% 0.092 252.2)

  • #86434D

    #86434D

    oklch(47% 0.092 11.8)

  • #47652B

    #47652B

    oklch(46.9% 0.092 131.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315D8D

    #315D8D

    oklch(47% 0.092 252.2)

  • #7E4469

    #7E4469

    oklch(47% 0.093 342.4)

  • #7A5112

    #7A5112

    oklch(46.9% 0.092 72.3)

  • #196B4B

    #196B4B

    oklch(47.1% 0.093 162.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #315D8D 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.