#31459B#31459B
#31459B is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.6% C 0.142 H 269.6°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).
Color values
| HEX | #31459B |
|---|---|
| RGB | rgb(49, 69, 155) |
| HSL | hsl(229, 52%, 40%) |
| HSV | hsv(229, 68%, 61%) |
| CMYK | cmyk(68.4%, 55.5%, 0%, 39.2%) |
| CIE-LAB | lab(32.42, 21.75, -49.37) |
| CIE-LCH | lch(32.42, 53.95, 293.78°) |
| OKLab | oklab(42.57% -0.0011 -0.142) |
| OKLCH | oklch(42.57% 0.142 269.6) |
| XYZ | xyz(9.3091, 7.2749, 31.9176) |
| Luminance | 0.0728 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 4.02
Cobalt (survey)
#1E488F
ΔE00 4.16
Blueberry
#464196
ΔE00 4.42
Sapphire (survey)
#2138AB
ΔE00 4.89
Blue Blue
#2242C7
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31459B #9B8731
analogous
#317A9B #31459B #52319B
triadic
#31459B #9B3145 #459B31
tetradic
#31459B #9B317A #9B8731 #319B52
square
#31459B #9B317A #9B8731 #319B52
split-complementary
#31459B #9B5231 #7A9B31
monochromatic
#141C3E #22306D #31459B #455DC4 #7386D3
Accessibility & contrast
On white
8.55
#31459B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#31459B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31459B
8.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31459B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31459B | 1.00 | 8.55 | 2.46 | 8.55 |
| #FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01519E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005A69
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #31459b; /* rgb */ color: rgb(49, 69, 155); /* oklch */ color: oklch(42.6% 0.142 269.6);
Tailwind
colors: {
custom: {
50: '#7678b9',
500: '#31459b',
950: '#000000',
},
}SCSS
$custom: #31459b; $custom-light: #7678b9; $custom-dark: #000000;
JSON
{
"hex": "#31459b",
"rgb": {
"r": 49,
"g": 69,
"b": 155
},
"hsl": {
"h": 228.679,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.42566,
"c": 0.14196,
"h": 269.6
},
"luminance": 0.07276
}Semantic roles & 50–950 ramp
primary
#31459B
secondary
#BBAC6D
accent
#C04CDB
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090811
muted
#7B7B80