#315C7D

Closest named color: YInMn Blue (#415A77). oklch(45.9% 0.072 243.5), rgb(49, 92, 125).

Aa

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

About this color

#315C7D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 46%, its chroma 0.072 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.019 away. White text reads best on it, at 7.10:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.95:1
White text7.10:1

Values

HEX#315C7D
RGBrgb(49, 92, 125)
HSLhsl(206, 44%, 34%)
OKLCHoklch(45.9% 0.072 243.5)

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 #315C7D 7.10:1 AAA Lc -89.4 Fine for body text
Black text on #315C7D 2.95:1 Fails Lc 19.6 Dividers and decoration only
#315C7D text on white 7.10:1 AAA Lc 84.5 Fine for body text
#315C7D text on black 2.95:1 Fails Lc -17.5 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 800.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E3EBF2

    oklch(93.6% 0.013 244.3)

  3. Step 200

    200

    #CDDBE8

    oklch(88.5% 0.023 246.1)

  4. Step 300

    300

    #AAC4DA

    oklch(80.8% 0.042 243.8)

  5. Step 400

    400

    #7CA6C8

    oklch(70.7% 0.068 243.3)

  6. Step 500

    500

    #598FBA

    oklch(63% 0.087 243.8)

  7. Step 600

    600

    #3D79A6

    oklch(55.6% 0.094 243.3)

  8. Step 700

    700

    #2F668E

    oklch(49.2% 0.087 242.9)

  9. Step 800

    800 (this color)

    #315C7D

    oklch(45.9% 0.072 243.5)

  10. Step 900

    900

    #25455D

    oklch(37.7% 0.056 242.6)

  11. Step 950

    950

    #162837

    oklch(26.9% 0.037 244.9)

Export this scale for Tailwind in the Tailwind colors tool

#315C7D 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)#4E5C7F0.035
Deuteranopia (no green cones)#43557C0.027
Tritanopia (no blue cones)#0064670.058
Achromatopsia (no color)#5858580.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #315C7D

    #315C7D

    oklch(45.9% 0.072 243.5)

  • #744E2A

    #744E2A

    oklch(45.8% 0.072 62.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315C7D

    #315C7D

    oklch(45.9% 0.072 243.5)

  • #186270

    #186270

    oklch(45.9% 0.072 213.4)

  • #4B5580

    #4B5580

    oklch(46% 0.071 273.3)

Open the analogous palette in the generator

Split complementary

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

  • #315C7D

    #315C7D

    oklch(45.9% 0.072 243.5)

  • #7B483D

    #7B483D

    oklch(45.9% 0.073 33)

  • #655723

    #655723

    oklch(45.9% 0.073 94.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315C7D

    #315C7D

    oklch(45.9% 0.072 243.5)

  • #794653

    #794653

    oklch(45.8% 0.072 3.8)

  • #505E2F

    #505E2F

    oklch(45.8% 0.072 122.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315C7D

    #315C7D

    oklch(45.9% 0.072 243.5)

  • #704869

    #704869

    oklch(45.9% 0.073 333.2)

  • #744E2A

    #744E2A

    oklch(45.8% 0.072 62.8)

  • #356345

    #356345

    oklch(45.8% 0.071 154)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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