#31449B#31449B
#31449B is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.143 H 269.9°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #31449B |
|---|---|
| RGB | rgb(49, 68, 155) |
| HSL | hsl(229, 52%, 40%) |
| HSV | hsv(229, 68%, 61%) |
| CMYK | cmyk(68.4%, 56.1%, 0%, 39.2%) |
| CIE-LAB | lab(32.15, 22.42, -49.81) |
| CIE-LCH | lch(32.15, 54.62, 294.23°) |
| OKLab | oklab(42.36% -0.0002 -0.1433) |
| OKLCH | oklch(42.36% 0.143 269.9) |
| XYZ | xyz(9.2481, 7.1529, 31.8973) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.17
Blueberry
#464196
ΔE00 4.21
Cobalt (survey)
#1E488F
ΔE00 4.40
Sapphire (survey)
#2138AB
ΔE00 4.60
Darkslateblue
#483D8B
ΔE00 6.06
Blue Blue
#2242C7
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31449B #9B8831
analogous
#31799B #31449B #53319B
triadic
#31449B #9B3144 #449B31
tetradic
#31449B #9B3179 #9B8831 #319B53
square
#31449B #9B3179 #9B8831 #319B53
split-complementary
#31449B #9B5331 #799B31
monochromatic
#141B3E #22306D #31449B #455CC4 #7385D3
Accessibility & contrast
On white
8.64
#31449B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#31449B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31449B
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31449B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31449B | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#004799
Tritanopia (blue-blind)
#005968
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #31449b; /* rgb */ color: rgb(49, 68, 155); /* oklch */ color: oklch(42.4% 0.143 269.9);
Tailwind
colors: {
custom: {
50: '#7677b9',
500: '#31449b',
950: '#000000',
},
}SCSS
$custom: #31449b; $custom-light: #7677b9; $custom-dark: #000000;
JSON
{
"hex": "#31449b",
"rgb": {
"r": 49,
"g": 68,
"b": 155
},
"hsl": {
"h": 229.245,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.42361,
"c": 0.14327,
"h": 269.9
},
"luminance": 0.07154
}Semantic roles & 50–950 ramp
primary
#31449B
secondary
#BBAD6D
accent
#C24CDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80