#31495F#31495F
#31495F is a dark, muted cyan. Relative luminance 0.062; OKLCH L 39.6% C 0.048 H 247.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #31495F |
|---|---|
| RGB | rgb(49, 73, 95) |
| HSL | hsl(209, 32%, 28%) |
| HSV | hsv(209, 48%, 37%) |
| CMYK | cmyk(48.4%, 23.2%, 0%, 62.7%) |
| CIE-LAB | lab(30.02, -2.49, -15.82) |
| CIE-LCH | lch(30.02, 16.01, 261.06°) |
| OKLab | oklab(39.55% -0.0187 -0.044) |
| OKLCH | oklch(39.55% 0.048 247) |
| XYZ | xyz(5.7140, 6.2439, 11.7283) |
| Luminance | 0.0624 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Dark Grey Blue
#29465B
ΔE00 2.14
Dark Slate Blue
#214761
ΔE00 2.99
Charcoal
#36454F
ΔE00 5.41
Dark Blue Grey
#1F3B4D
ΔE00 5.42
Prussian Blue
#004577
ΔE00 7.03
Twilight Blue
#0A437A
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31495F #5F4731
analogous
#315F5E #31495F #31325F
triadic
#31495F #5F3149 #495F31
tetradic
#31495F #5E315F #5F4731 #325F31
square
#31495F #5E315F #5F4731 #325F31
split-complementary
#31495F #5F3132 #5F5E31
monochromatic
#0A1014 #1C2A37 #31495F #466887 #5E87AC
Accessibility & contrast
On white
9.34
#31495F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#31495F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31495F
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31495F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31495F | 1.00 | 9.34 | 2.25 | 9.34 |
| #FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#404960
Deuteranopia (green-blind)
#3A455F
Tritanopia (blue-blind)
#1E4E50
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #31495f; /* rgb */ color: rgb(49, 73, 95); /* oklch */ color: oklch(39.6% 0.048 247.0);
Tailwind
colors: {
custom: {
50: '#6c7b8c',
500: '#31495f',
950: '#000000',
},
}SCSS
$custom: #31495f; $custom-light: #6c7b8c; $custom-dark: #000000;
JSON
{
"hex": "#31495f",
"rgb": {
"r": 49,
"g": 73,
"b": 95
},
"hsl": {
"h": 208.696,
"s": 31.944,
"l": 28.235
},
"oklch": {
"l": 0.39553,
"c": 0.04778,
"h": 247
},
"luminance": 0.06244
}Semantic roles & 50–950 ramp
primary
#31495F
secondary
#90755C
accent
#9260C8
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07090C
muted
#7A7B7D