#31618E#31618E
#31618E is a mid, moderate cyan. Relative luminance 0.112; OKLCH L 48.0% C 0.090 H 248.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #31618E |
|---|---|
| RGB | rgb(49, 97, 142) |
| HSL | hsl(209, 49%, 37%) |
| HSV | hsv(209, 65%, 56%) |
| CMYK | cmyk(65.5%, 31.7%, 0%, 44.3%) |
| CIE-LAB | lab(39.84, -1.37, -29.67) |
| CIE-LCH | lch(39.84, 29.70, 267.36°) |
| OKLab | oklab(48.02% -0.0324 -0.0838) |
| OKLCH | oklch(48.02% 0.09 248.8) |
| XYZ | xyz(10.4220, 11.1543, 27.1897) |
| Luminance | 0.1115 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Denim (survey)
#3B638C
ΔE00 1.49
Light Navy Blue
#2E5A88
ΔE00 2.53
Ugly Blue
#31668A
ΔE00 3.42
Denim Blue
#3B5B92
ΔE00 4.33
Mid Blue
#276AB3
ΔE00 5.08
Denim
#1560BD
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31618E #8E5E31
analogous
#318E8C #31618E #31338E
triadic
#31618E #8E3161 #618E31
tetradic
#31618E #8C318E #8E5E31 #338E31
square
#31618E #8C318E #8E5E31 #338E31
split-complementary
#31618E #8E3133 #8E8C31
monochromatic
#122333 #214261 #31618E #4180BB #6D9ECD
Accessibility & contrast
On white
6.50
#31618E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#31618E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31618E
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31618E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31618E | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#415A8D
Tritanopia (blue-blind)
#006C71
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #31618e; /* rgb */ color: rgb(49, 97, 142); /* oklch */ color: oklch(48.0% 0.090 248.8);
Tailwind
colors: {
custom: {
50: '#738daf',
500: '#31618e',
950: '#000000',
},
}SCSS
$custom: #31618e; $custom-light: #738daf; $custom-dark: #000000;
JSON
{
"hex": "#31618e",
"rgb": {
"r": 49,
"g": 97,
"b": 142
},
"hsl": {
"h": 209.032,
"s": 48.691,
"l": 37.451
},
"oklch": {
"l": 0.48022,
"c": 0.08986,
"h": 248.8
},
"luminance": 0.11155
}Semantic roles & 50–950 ramp
primary
#31618E
secondary
#B48C67
accent
#9250D8
background
#F7F8FA
surface
#EDF0F4
border
#C8CBCE
text
#090C10
muted
#7B7D7F