#315879

Closest named color: YInMn Blue (#415A77). oklch(44.7% 0.07 245.8), rgb(49, 88, 121).

Aa

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

About this color

#315879 is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.070 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.021 away. White text reads best on it, at 7.49:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.070)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.80:1
White text7.49:1

Values

HEX#315879
RGBrgb(49, 88, 121)
HSLhsl(208, 42%, 33%)
OKLCHoklch(44.7% 0.07 245.8)

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 #315879 7.49:1 AAA Lc -90.7 Preferred for body text
Black text on #315879 2.80:1 Fails Lc 18.1 Dividers and decoration only
#315879 text on white 7.49:1 AAA Lc 85.9 Fine for body text
#315879 text on black 2.80:1 Fails Lc -16.1 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

    #E4EBF1

    oklch(93.6% 0.011 243.7)

  3. Step 200

    200

    #CDDBE8

    oklch(88.5% 0.023 246.1)

  4. Step 300

    300

    #ACC4DA

    oklch(80.9% 0.041 246)

  5. Step 400

    400

    #7FA5C8

    oklch(70.7% 0.066 246.7)

  6. Step 500

    500

    #5D8FB9

    oklch(63.2% 0.083 245)

  7. Step 600

    600

    #4278A6

    oklch(55.6% 0.092 246.2)

  8. Step 700

    700

    #34658E

    oklch(49.1% 0.085 245.9)

  9. Step 800

    800 (this color)

    #315879

    oklch(44.7% 0.07 245.8)

  10. Step 900

    900

    #28445D

    oklch(37.6% 0.055 246.8)

  11. Step 950

    950

    #182836

    oklch(27% 0.034 245.9)

Export this scale for Tailwind in the Tailwind colors tool

#315879 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)#4A597A0.031
Deuteranopia (no green cones)#4051780.025
Tritanopia (no blue cones)#0060630.059
Achromatopsia (no color)#5555550.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #315879

    #315879

    oklch(44.7% 0.07 245.8)

  • #6F4C27

    #6F4C27

    oklch(44.7% 0.07 65.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315879

    #315879

    oklch(44.7% 0.07 245.8)

  • #185E6D

    #185E6D

    oklch(44.7% 0.07 215.5)

  • #4A517B

    #4A517B

    oklch(44.7% 0.069 276)

Open the analogous palette in the generator

Split complementary

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

  • #315879

    #315879

    oklch(44.7% 0.07 245.8)

  • #764639

    #764639

    oklch(44.7% 0.07 35.9)

  • #605422

    #605422

    oklch(44.7% 0.07 95.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315879

    #315879

    oklch(44.7% 0.07 245.8)

  • #75434E

    #75434E

    oklch(44.6% 0.07 6.1)

  • #4B5B2F

    #4B5B2F

    oklch(44.6% 0.069 125.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315879

    #315879

    oklch(44.7% 0.07 245.8)

  • #6D4563

    #6D4563

    oklch(44.7% 0.07 336.3)

  • #6F4C27

    #6F4C27

    oklch(44.7% 0.07 65.8)

  • #316044

    #316044

    oklch(44.7% 0.07 156)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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