#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 family | Blues |
| Lightness | dark (42%) |
| Chroma | muted (0.046) |
| Temperature | cool |
| Nearest name | Dark Slate Gray (#2F4F4F) |
| Black text | 2.48:1 |
| White text | 8.46:1 |
Values
| HEX | #315161 |
| RGB | rgb(49, 81, 97) |
| HSL | hsl(200, 33%, 29%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#F3F6F7
oklch(97.1% 0.003 219.5)
-
Step 100
100
#E5EBEE
oklch(93.6% 0.008 228.9)
-
Step 200
200
#D0DBE1
oklch(88.5% 0.015 231.2)
-
Step 300
300
#B0C4CF
oklch(80.9% 0.027 231.7)
-
Step 400
400
#86A6B7
oklch(70.7% 0.043 231.3)
-
Step 500
500
#6790A5
oklch(63.1% 0.055 231)
-
Step 600
600
#4E7A90
oklch(55.6% 0.059 230.9)
-
Step 700
700
#3E677B
oklch(49.2% 0.056 230.6)
-
Step 800
800 (this color)
#315161
oklch(41.7% 0.046 231.1)
-
Step 900
900
#2D4551
oklch(37.6% 0.036 230.6)
-
Step 950
950
#1B2930
oklch(27.1% 0.023 230.3)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #495062 | 0.032 |
| Deuteranopia (no green cones) | #424B61 | 0.028 |
| Tritanopia (no blue cones) | #1B5556 | 0.033 |
| Achromatopsia (no color) | #4D4D4D | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Dark Slate Gray #2F4F4F ΔE 0.030
- Dark Grey Blue #29465B ΔE 0.037
- Deep Teal #00555A ΔE 0.038
- Charcoal #264653 ΔE 0.042
- Petrol #005F6A ΔE 0.047
- YInMn Blue #415A77 ΔE 0.048
- Dark Teal #014D4E ΔE 0.052
- Dark Blue Green #005249 ΔE 0.058
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.