#31718E#31718E
#31718E is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.079 H 230.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #31718E |
|---|---|
| RGB | rgb(49, 113, 142) |
| HSL | hsl(199, 49%, 37%) |
| HSV | hsv(199, 65%, 56%) |
| CMYK | cmyk(65.5%, 20.4%, 0%, 44.3%) |
| CIE-LAB | lab(44.82, -10.97, -21.91) |
| CIE-LCH | lch(44.82, 24.50, 243.41°) |
| OKLab | oklab(51.97% -0.0504 -0.0613) |
| OKLCH | oklch(51.97% 0.079 230.6) |
| XYZ | xyz(12.0523, 14.4150, 27.7331) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Sea Blue
#047495
ΔE00 2.78
Ocean Blue (survey)
#03719C
ΔE00 3.73
Metallic Blue
#4F738E
ΔE00 5.11
Cerulean
#007BA7
ΔE00 5.15
Ugly Blue
#31668A
ΔE00 5.38
Peacock Blue
#016795
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31718E #8E4E31
analogous
#318E7D #31718E #31428E
triadic
#31718E #8E3171 #718E31
tetradic
#31718E #7D318E #8E4E31 #428E31
square
#31718E #7D318E #8E4E31 #428E31
split-complementary
#31718E #8E3142 #8E7D31
monochromatic
#122933 #214D61 #31718E #4195BB #6DAFCD
Accessibility & contrast
On white
5.41
#31718E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#31718E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31718E
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31718E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31718E | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626F8F
Deuteranopia (green-blind)
#55668E
Tritanopia (blue-blind)
#00797B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #31718e; /* rgb */ color: rgb(49, 113, 142); /* oklch */ color: oklch(52.0% 0.079 230.6);
Tailwind
colors: {
custom: {
50: '#7399af',
500: '#31718e',
950: '#000000',
},
}SCSS
$custom: #31718e; $custom-light: #7399af; $custom-dark: #000000;
JSON
{
"hex": "#31718e",
"rgb": {
"r": 49,
"g": 113,
"b": 142
},
"hsl": {
"h": 198.71,
"s": 48.691,
"l": 37.451
},
"oklch": {
"l": 0.51968,
"c": 0.07933,
"h": 230.6
},
"luminance": 0.14416
}Semantic roles & 50–950 ramp
primary
#31718E
secondary
#B47F67
accent
#7A50D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F