#31598F#31598F
#31598F is a mid, moderate cyan. Relative luminance 0.098; OKLCH L 46.2% C 0.099 H 256.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #31598F |
|---|---|
| RGB | rgb(49, 89, 143) |
| HSL | hsl(214, 49%, 38%) |
| HSV | hsv(214, 66%, 56%) |
| CMYK | cmyk(65.7%, 37.8%, 0%, 43.9%) |
| CIE-LAB | lab(37.44, 4.05, -34.05) |
| CIE-LCH | lch(37.44, 34.29, 276.79°) |
| OKLab | oklab(46.17% -0.0233 -0.0967) |
| OKLCH | oklch(46.17% 0.099 256.4) |
| XYZ | xyz(9.7951, 9.7800, 27.3528) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | cyan |
Closest named colors
Light Navy Blue
#2E5A88
ΔE00 1.78
Denim Blue
#3B5B92
ΔE00 1.83
Dusk Blue
#26538D
ΔE00 2.10
Denim (survey)
#3B638C
ΔE00 3.89
Light Navy
#155084
ΔE00 4.17
Dusky Blue
#475F94
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31598F #8F6731
analogous
#31888F #31598F #38318F
triadic
#31598F #8F3159 #598F31
tetradic
#31598F #8F3188 #8F6731 #318F38
square
#31598F #8F3188 #8F6731 #318F38
split-complementary
#31598F #8F3831 #888F31
monochromatic
#122034 #213D61 #31598F #4175BD #6D96CD
Accessibility & contrast
On white
7.10
#31598F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#31598F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31598F
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31598F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31598F | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#415D91
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#00656D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #31598f; /* rgb */ color: rgb(49, 89, 143); /* oklch */ color: oklch(46.2% 0.099 256.4);
Tailwind
colors: {
custom: {
50: '#7387b0',
500: '#31598f',
950: '#000000',
},
}SCSS
$custom: #31598f; $custom-light: #7387b0; $custom-dark: #000000;
JSON
{
"hex": "#31598f",
"rgb": {
"r": 49,
"g": 89,
"b": 143
},
"hsl": {
"h": 214.468,
"s": 48.958,
"l": 37.647
},
"oklch": {
"l": 0.46165,
"c": 0.09944,
"h": 256.4
},
"luminance": 0.09781
}Semantic roles & 50–950 ramp
primary
#31598F
secondary
#B59467
accent
#9E4FD9
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B10
muted
#7B7C7F