#315B79

Closest named color: YInMn Blue (#415A77). oklch(45.4% 0.068 241.5), rgb(49, 91, 121).

Aa

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

About this color

#315B79 is a medium-dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.068 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.018 away. White text reads best on it, at 7.23:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamuted (0.068)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.90:1
White text7.23:1

Values

HEX#315B79
RGBrgb(49, 91, 121)
HSLhsl(205, 42%, 33%)
OKLCHoklch(45.4% 0.068 241.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 #315B79 7.23:1 AAA Lc -89.9 Fine for body text
Black text on #315B79 2.90:1 Fails Lc 19.1 Dividers and decoration only
#315B79 text on white 7.23:1 AAA Lc 85.0 Fine for body text
#315B79 text on black 2.90:1 Fails Lc -17.0 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

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CDDBE7

    oklch(88.4% 0.022 243.8)

  4. Step 300

    300

    #ABC4D8

    oklch(80.8% 0.039 242.2)

  5. Step 400

    400

    #7DA6C5

    oklch(70.7% 0.064 241.4)

  6. Step 500

    500

    #5B90B7

    oklch(63.2% 0.082 241.6)

  7. Step 600

    600

    #3F79A2

    oklch(55.5% 0.088 241.6)

  8. Step 700

    700

    #31668B

    oklch(49.1% 0.082 241.6)

  9. Step 800

    800 (this color)

    #315B79

    oklch(45.4% 0.068 241.5)

  10. Step 900

    900

    #26455B

    oklch(37.7% 0.053 241)

  11. Step 950

    950

    #172935

    oklch(27.1% 0.033 238.8)

Export this scale for Tailwind in the Tailwind colors tool

#315B79 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)#4E5B7A0.036
Deuteranopia (no green cones)#4454780.028
Tritanopia (no blue cones)#0062650.054
Achromatopsia (no color)#5757570.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #315B79

    #315B79

    oklch(45.4% 0.068 241.5)

  • #724D2D

    #724D2D

    oklch(45.4% 0.068 60.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315B79

    #315B79

    oklch(45.4% 0.068 241.5)

  • #1D606C

    #1D606C

    oklch(45.3% 0.068 211.9)

  • #49547D

    #49547D

    oklch(45.5% 0.069 272)

Open the analogous palette in the generator

Split complementary

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

  • #315B79

    #315B79

    oklch(45.4% 0.068 241.5)

  • #78483F

    #78483F

    oklch(45.5% 0.068 31.3)

  • #645526

    #645526

    oklch(45.4% 0.068 91.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315B79

    #315B79

    oklch(45.4% 0.068 241.5)

  • #764654

    #764654

    oklch(45.5% 0.068 1.3)

  • #505C30

    #505C30

    oklch(45.3% 0.067 121.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315B79

    #315B79

    oklch(45.4% 0.068 241.5)

  • #6D4868

    #6D4868

    oklch(45.5% 0.069 331.5)

  • #724D2D

    #724D2D

    oklch(45.4% 0.068 60.6)

  • #386143

    #386143

    oklch(45.3% 0.068 151.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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