#315161

Closest named color: Dark Slate Gray (#2F4F4F). oklch(41.7% 0.046 231.1), rgb(49, 81, 97).

Aa

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

About this color

#315161 is a dark, muted blue. In OKLCH its lightness is 42%, its chroma 0.046 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Gray (#2F4F4F), ΔE 0.030 away. White text reads best on it, at 8.46:1.

Hue familyBlues
Lightnessdark (42%)
Chromamuted (0.046)
Temperaturecool
Nearest nameDark Slate Gray (#2F4F4F)
Black text2.48:1
White text8.46:1

Values

HEX#315161
RGBrgb(49, 81, 97)
HSLhsl(200, 33%, 29%)
OKLCHoklch(41.7% 0.046 231.1)

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 #315161 8.46:1 AAA Lc -93.6 Preferred for body text
Black text on #315161 2.48:1 Fails Lc 14.9 Not readable
#315161 text on white 8.46:1 AAA Lc 89.1 Fine for body text
#315161 text on black 2.48:1 Fails Lc -13.1 Not readable

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

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E5EBEE

    oklch(93.6% 0.008 228.9)

  3. Step 200

    200

    #D0DBE1

    oklch(88.5% 0.015 231.2)

  4. Step 300

    300

    #B0C4CF

    oklch(80.9% 0.027 231.7)

  5. Step 400

    400

    #86A6B7

    oklch(70.7% 0.043 231.3)

  6. Step 500

    500

    #6790A5

    oklch(63.1% 0.055 231)

  7. Step 600

    600

    #4E7A90

    oklch(55.6% 0.059 230.9)

  8. Step 700

    700

    #3E677B

    oklch(49.2% 0.056 230.6)

  9. Step 800

    800 (this color)

    #315161

    oklch(41.7% 0.046 231.1)

  10. Step 900

    900

    #2D4551

    oklch(37.6% 0.036 230.6)

  11. Step 950

    950

    #1B2930

    oklch(27.1% 0.023 230.3)

Export this scale for Tailwind in the Tailwind colors tool

#315161 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)#4950620.032
Deuteranopia (no green cones)#424B610.028
Tritanopia (no blue cones)#1B55560.033
Achromatopsia (no color)#4D4D4D0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #315161

    #315161

    oklch(41.7% 0.046 231.1)

  • #614535

    #614535

    oklch(41.7% 0.046 50.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315161

    #315161

    oklch(41.7% 0.046 231.1)

  • #2B5457

    #2B5457

    oklch(41.7% 0.046 201.7)

  • #3E4D66

    #3E4D66

    oklch(41.8% 0.046 260.5)

Open the analogous palette in the generator

Split complementary

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

  • #315161

    #315161

    oklch(41.7% 0.046 231.1)

  • #634241

    #634241

    oklch(41.6% 0.046 21.2)

  • #594A2F

    #594A2F

    oklch(41.7% 0.046 81.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315161

    #315161

    oklch(41.7% 0.046 231.1)

  • #60424F

    #60424F

    oklch(41.7% 0.046 351.6)

  • #4D4F31

    #4D4F31

    oklch(41.7% 0.046 111.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315161

    #315161

    oklch(41.7% 0.046 231.1)

  • #58445C

    #58445C

    oklch(41.7% 0.047 320.7)

  • #614535

    #614535

    oklch(41.7% 0.046 50.8)

  • #3E533B

    #3E533B

    oklch(41.7% 0.047 141.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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