#31449C#31449C
#31449C is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.4% C 0.145 H 270.0°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #31449C |
|---|---|
| RGB | rgb(49, 68, 156) |
| HSL | hsl(229, 52%, 40%) |
| HSV | hsv(229, 69%, 61%) |
| CMYK | cmyk(68.6%, 56.4%, 0%, 38.8%) |
| CIE-LAB | lab(32.23, 22.79, -50.29) |
| CIE-LCH | lch(32.23, 55.21, 294.38°) |
| OKLab | oklab(42.44% -0.0001 -0.1447) |
| OKLCH | oklch(42.44% 0.145 270) |
| XYZ | xyz(9.3325, 7.1866, 32.3414) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.13
Blueberry
#464196
ΔE00 4.21
Cobalt (survey)
#1E488F
ΔE00 4.49
Sapphire (survey)
#2138AB
ΔE00 4.50
Blue Blue
#2242C7
ΔE00 5.97
Darkslateblue
#483D8B
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31449C #9C8931
analogous
#31799C #31449C #54319C
triadic
#31449C #9C3144 #449C31
tetradic
#31449C #9C3179 #9C8931 #319C54
square
#31449C #9C3179 #9C8931 #319C54
split-complementary
#31449C #9C5431 #799C31
monochromatic
#141B3F #22306D #31449C #455CC5 #7485D3
Accessibility & contrast
On white
8.62
#31449C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#31449C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31449C
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31449C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31449C | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#00479A
Tritanopia (blue-blind)
#005969
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #31449c; /* rgb */ color: rgb(49, 68, 156); /* oklch */ color: oklch(42.4% 0.145 270.0);
Tailwind
colors: {
custom: {
50: '#7677ba',
500: '#31449c',
950: '#000000',
},
}SCSS
$custom: #31449c; $custom-light: #7677ba; $custom-dark: #000000;
JSON
{
"hex": "#31449c",
"rgb": {
"r": 49,
"g": 68,
"b": 156
},
"hsl": {
"h": 229.346,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.42442,
"c": 0.14469,
"h": 270
},
"luminance": 0.07188
}Semantic roles & 50–950 ramp
primary
#31449C
secondary
#BBAE6D
accent
#C24CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81