#31488E#31488E
#31488E is a dark, moderate blue. Relative luminance 0.072; OKLCH L 42.2% C 0.119 H 267.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #31488E |
|---|---|
| RGB | rgb(49, 72, 142) |
| HSL | hsl(225, 49%, 37%) |
| HSV | hsv(225, 65%, 56%) |
| CMYK | cmyk(65.5%, 49.3%, 0%, 44.3%) |
| CIE-LAB | lab(32.35, 14.89, -41.57) |
| CIE-LCH | lch(32.35, 44.16, 289.71°) |
| OKLab | oklab(42.21% -0.0053 -0.119) |
| OKLCH | oklch(42.21% 0.119 267.5) |
| XYZ | xyz(8.4648, 7.2399, 26.5373) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 2.75
Cobalt
#0047AB
ΔE00 4.86
Darkish Blue
#014182
ΔE00 5.22
Dusk Blue
#26538D
ΔE00 5.32
Blueberry
#464196
ΔE00 5.78
Twilight Blue
#0A437A
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31488E #8E7731
analogous
#31778E #31488E #48318E
triadic
#31488E #8E3148 #488E31
tetradic
#31488E #8E3177 #8E7731 #318E48
square
#31488E #8E3177 #8E7731 #318E48
split-complementary
#31488E #8E4831 #778E31
monochromatic
#121A33 #213161 #31488E #415FBB #6D85CD
Accessibility & contrast
On white
8.58
#31488E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#31488E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31488E
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31488E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31488E | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#10488D
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #31488e; /* rgb */ color: rgb(49, 72, 142); /* oklch */ color: oklch(42.2% 0.119 267.5);
Tailwind
colors: {
custom: {
50: '#737aaf',
500: '#31488e',
950: '#000000',
},
}SCSS
$custom: #31488e; $custom-light: #737aaf; $custom-dark: #000000;
JSON
{
"hex": "#31488e",
"rgb": {
"r": 49,
"g": 72,
"b": 142
},
"hsl": {
"h": 225.161,
"s": 48.691,
"l": 37.451
},
"oklch": {
"l": 0.42214,
"c": 0.1191,
"h": 267.5
},
"luminance": 0.07241
}Semantic roles & 50–950 ramp
primary
#31488E
secondary
#B4A167
accent
#B650D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F