#315771

Closest named color: YInMn Blue (#415A77). oklch(44% 0.061 240), rgb(49, 87, 113).

Aa

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

About this color

#315771 is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.061 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.024 away. White text reads best on it, at 7.68:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.061)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.73:1
White text7.68:1

Values

HEX#315771
RGBrgb(49, 87, 113)
HSLhsl(204, 40%, 32%)
OKLCHoklch(44% 0.061 240)

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 #315771 7.68:1 AAA Lc -91.4 Preferred for body text
Black text on #315771 2.73:1 Fails Lc 17.4 Dividers and decoration only
#315771 text on white 7.68:1 AAA Lc 86.6 Fine for body text
#315771 text on black 2.73:1 Fails Lc -15.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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E4EBF0

    oklch(93.6% 0.01 238.5)

  3. Step 200

    200

    #CEDBE5

    oklch(88.5% 0.02 240.8)

  4. Step 300

    300

    #ADC4D6

    oklch(80.9% 0.036 241.6)

  5. Step 400

    400

    #80A6C1

    oklch(70.7% 0.057 239.5)

  6. Step 500

    500

    #5F90B1

    oklch(63.1% 0.073 238.9)

  7. Step 600

    600

    #45799D

    oklch(55.5% 0.079 240.5)

  8. Step 700

    700

    #366686

    oklch(49.1% 0.073 239.8)

  9. Step 800

    800 (this color)

    #315771

    oklch(44% 0.061 240)

  10. Step 900

    900

    #294558

    oklch(37.7% 0.047 239.4)

  11. Step 950

    950

    #182834

    oklch(26.8% 0.031 241.7)

Export this scale for Tailwind in the Tailwind colors tool

#315771 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)#4B57720.033
Deuteranopia (no green cones)#4350710.029
Tritanopia (no blue cones)#065D600.048
Achromatopsia (no color)#5353530.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #315771

    #315771

    oklch(44% 0.061 240)

  • #6B4A2F

    #6B4A2F

    oklch(43.9% 0.06 59.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315771

    #315771

    oklch(44% 0.061 240)

  • #225C65

    #225C65

    oklch(44.1% 0.061 209.3)

  • #455175

    #455175

    oklch(44% 0.062 269.6)

Open the analogous palette in the generator

Split complementary

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

  • #315771

    #315771

    oklch(44% 0.061 240)

  • #71453E

    #71453E

    oklch(44% 0.062 29.6)

  • #605128

    #605128

    oklch(44% 0.062 89.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315771

    #315771

    oklch(44% 0.061 240)

  • #6E4451

    #6E4451

    oklch(43.9% 0.061 359.8)

  • #4E5830

    #4E5830

    oklch(44.1% 0.062 120.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315771

    #315771

    oklch(44% 0.061 240)

  • #664663

    #664663

    oklch(44% 0.062 329.8)

  • #6B4A2F

    #6B4A2F

    oklch(43.9% 0.06 59.6)

  • #395C40

    #395C40

    oklch(44% 0.061 149.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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