#31448E#31448E
#31448E is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.124 H 269.5°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #31448E |
|---|---|
| RGB | rgb(49, 68, 142) |
| HSL | hsl(228, 49%, 37%) |
| HSV | hsv(228, 65%, 56%) |
| CMYK | cmyk(65.5%, 52.1%, 0%, 44.3%) |
| CIE-LAB | lab(31.21, 17.59, -43.41) |
| CIE-LCH | lch(31.21, 46.84, 292.06°) |
| OKLab | oklab(41.35% -0.0012 -0.1244) |
| OKLCH | oklch(41.35% 0.124 269.5) |
| XYZ | xyz(8.2146, 6.7395, 26.4539) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.66
Blueberry
#464196
ΔE00 4.74
Cobalt
#0047AB
ΔE00 5.20
Darkish Blue
#014182
ΔE00 5.56
Darkslateblue
#483D8B
ΔE00 5.97
Sapphire (survey)
#2138AB
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31448E #8E7B31
analogous
#31728E #31448E #4D318E
triadic
#31448E #8E3144 #448E31
tetradic
#31448E #8E3172 #8E7B31 #318E4D
square
#31448E #8E3172 #8E7B31 #318E4D
split-complementary
#31448E #8E4D31 #728E31
monochromatic
#121833 #212E61 #31448E #415ABB #6D80CD
Accessibility & contrast
On white
8.94
#31448E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#31448E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31448E
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31448E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31448E | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A4E91
Deuteranopia (green-blind)
#00458C
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #31448e; /* rgb */ color: rgb(49, 68, 142); /* oklch */ color: oklch(41.3% 0.124 269.5);
Tailwind
colors: {
custom: {
50: '#7377b0',
500: '#31448e',
950: '#000000',
},
}SCSS
$custom: #31448e; $custom-light: #7377b0; $custom-dark: #000000;
JSON
{
"hex": "#31448e",
"rgb": {
"r": 49,
"g": 68,
"b": 142
},
"hsl": {
"h": 227.742,
"s": 48.691,
"l": 37.451
},
"oklch": {
"l": 0.41347,
"c": 0.12445,
"h": 269.5
},
"luminance": 0.0674
}Semantic roles & 50–950 ramp
primary
#31448E
secondary
#B4A467
accent
#BC50D8
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090810
muted
#7B7B7F