#31589F#31589F
#31589F is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.0% C 0.123 H 261.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #31589F |
|---|---|
| RGB | rgb(49, 88, 159) |
| HSL | hsl(219, 53%, 41%) |
| HSV | hsv(219, 69%, 62%) |
| CMYK | cmyk(69.2%, 44.7%, 0%, 37.6%) |
| CIE-LAB | lab(38.08, 10.64, -42.67) |
| CIE-LCH | lch(38.08, 43.97, 284.00°) |
| OKLab | oklab(46.96% -0.0187 -0.1219) |
| OKLCH | oklch(46.96% 0.123 261.3) |
| XYZ | xyz(11.0121, 10.1345, 34.1700) |
| Luminance | 0.1014 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 2.20
Dusk Blue
#26538D
ΔE00 3.16
Light Navy Blue
#2E5A88
ΔE00 3.79
Sapphire
#0F52BA
ΔE00 3.98
Dusky Blue
#475F94
ΔE00 4.08
Denim
#1560BD
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31589F #9F7831
analogous
#318F9F #31589F #41319F
triadic
#31589F #9F3158 #589F31
tetradic
#31589F #9F318F #9F7831 #319F41
square
#31589F #9F318F #9F7831 #319F41
split-complementary
#31589F #9F4131 #8F9F31
monochromatic
#142441 #233E70 #31589F #4774C6 #7697D5
Accessibility & contrast
On white
6.94
#31589F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#31589F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #31589F
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31589F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31589F | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#365FA2
Deuteranopia (green-blind)
#22559E
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #31589f; /* rgb */ color: rgb(49, 88, 159); /* oklch */ color: oklch(47.0% 0.123 261.3);
Tailwind
colors: {
custom: {
50: '#7686bc',
500: '#31589f',
950: '#000000',
},
}SCSS
$custom: #31589f; $custom-light: #7686bc; $custom-dark: #000000;
JSON
{
"hex": "#31589f",
"rgb": {
"r": 49,
"g": 88,
"b": 159
},
"hsl": {
"h": 218.727,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.46963,
"c": 0.12337,
"h": 261.3
},
"luminance": 0.10136
}Semantic roles & 50–950 ramp
primary
#31589F
secondary
#BDA16F
accent
#A94CDC
background
#F7F8FB
surface
#EEEFF6
border
#C9CAD0
text
#090B12
muted
#7B7C81