#31709E#31709E
#31709E is a mid, moderate cyan. Relative luminance 0.147; OKLCH L 52.5% C 0.097 H 243.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #31709E |
|---|---|
| RGB | rgb(49, 112, 158) |
| HSL | hsl(205, 53%, 41%) |
| HSV | hsv(205, 69%, 62%) |
| CMYK | cmyk(69%, 29.1%, 0%, 38%) |
| CIE-LAB | lab(45.23, -4.81, -30.75) |
| CIE-LCH | lch(45.23, 31.13, 261.12°) |
| OKLab | oklab(52.53% -0.0436 -0.0868) |
| OKLCH | oklch(52.53% 0.097 243.3) |
| XYZ | xyz(13.2300, 14.7085, 34.4829) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Muted Blue
#3B719F
ΔE00 1.48
Flat Blue
#3C73A8
ΔE00 2.79
Dull Blue
#49759C
ΔE00 3.43
Ocean Blue (survey)
#03719C
ΔE00 4.09
Cadet Blue
#4E7496
ΔE00 4.21
Ugly Blue
#31668A
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31709E #9E5F31
analogous
#319E95 #31709E #31399E
triadic
#31709E #9E3170 #709E31
tetradic
#31709E #95319E #9E5F31 #399E31
square
#31709E #95319E #9E5F31 #399E31
split-complementary
#31709E #9E3139 #9E9531
monochromatic
#142E41 #234F6F #31709E #4690C6 #75ACD4
Accessibility & contrast
On white
5.33
#31709E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#31709E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31709E
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31709E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31709E | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B71A0
Deuteranopia (green-blind)
#4C669D
Tritanopia (blue-blind)
#007B80
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #31709e; /* rgb */ color: rgb(49, 112, 158); /* oklch */ color: oklch(52.5% 0.097 243.3);
Tailwind
colors: {
custom: {
50: '#7698bb',
500: '#31709e',
950: '#000000',
},
}SCSS
$custom: #31709e; $custom-light: #7698bb; $custom-dark: #000000;
JSON
{
"hex": "#31709e",
"rgb": {
"r": 49,
"g": 112,
"b": 158
},
"hsl": {
"h": 205.321,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.52531,
"c": 0.09713,
"h": 243.3
},
"luminance": 0.1471
}Semantic roles & 50–950 ramp
primary
#31709E
secondary
#BC8F6E
accent
#894CDC
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090D11
muted
#7B7E80