#31448D#31448D
#31448D is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.3% C 0.123 H 269.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #31448D |
|---|---|
| RGB | rgb(49, 68, 141) |
| HSL | hsl(228, 48%, 37%) |
| HSV | hsv(228, 65%, 55%) |
| CMYK | cmyk(65.2%, 51.8%, 0%, 44.7%) |
| CIE-LAB | lab(31.14, 17.22, -42.91) |
| CIE-LCH | lch(31.14, 46.23, 291.86°) |
| OKLab | oklab(41.27% -0.0013 -0.123) |
| OKLCH | oklch(41.27% 0.123 269.4) |
| XYZ | xyz(8.1398, 6.7096, 26.0603) |
| Luminance | 0.0671 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt (survey)
#1E488F
ΔE00 3.64
Blueberry
#464196
ΔE00 4.82
Cobalt
#0047AB
ΔE00 5.30
Darkish Blue
#014182
ΔE00 5.50
Darkslateblue
#483D8B
ΔE00 6.00
Twilight Blue
#0A437A
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31448D #8D7A31
analogous
#31728D #31448D #4C318D
triadic
#31448D #8D3144 #448D31
tetradic
#31448D #8D3172 #8D7A31 #318D4C
square
#31448D #8D3172 #8D7A31 #318D4C
split-complementary
#31448D #8D4C31 #728D31
monochromatic
#111832 #212E60 #31448D #415ABA #6C80CC
Accessibility & contrast
On white
8.97
#31448D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#31448D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31448D
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31448D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31448D | 1.00 | 8.97 | 2.34 | 8.97 |
| #FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B4E90
Deuteranopia (green-blind)
#01458B
Tritanopia (blue-blind)
#005562
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #31448d; /* rgb */ color: rgb(49, 68, 141); /* oklch */ color: oklch(41.3% 0.123 269.4);
Tailwind
colors: {
custom: {
50: '#7377af',
500: '#31448d',
950: '#000000',
},
}SCSS
$custom: #31448d; $custom-light: #7377af; $custom-dark: #000000;
JSON
{
"hex": "#31448d",
"rgb": {
"r": 49,
"g": 68,
"b": 141
},
"hsl": {
"h": 227.609,
"s": 48.421,
"l": 37.255
},
"oklch": {
"l": 0.41272,
"c": 0.12297,
"h": 269.4
},
"luminance": 0.0671
}Semantic roles & 50–950 ramp
primary
#31448D
secondary
#B4A466
accent
#BC50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#090810
muted
#7B7B7F