#31459F#31459F
#31459F is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.9% C 0.148 H 269.7°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #31459F |
|---|---|
| RGB | rgb(49, 69, 159) |
| HSL | hsl(229, 53%, 41%) |
| HSV | hsv(229, 69%, 62%) |
| CMYK | cmyk(69.2%, 56.6%, 0%, 37.6%) |
| CIE-LAB | lab(32.73, 23.24, -51.30) |
| CIE-LCH | lch(32.73, 56.31, 294.37°) |
| OKLab | oklab(42.89% -0.0009 -0.1476) |
| OKLCH | oklch(42.89% 0.148 269.7) |
| XYZ | xyz(9.6506, 7.4115, 33.7161) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.85
Blueberry
#464196
ΔE00 4.43
Sapphire (survey)
#2138AB
ΔE00 4.52
Cobalt (survey)
#1E488F
ΔE00 4.53
Blue Blue
#2242C7
ΔE00 5.60
Sapphire
#0F52BA
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31459F #9F8B31
analogous
#317C9F #31459F #54319F
triadic
#31459F #9F3145 #459F31
tetradic
#31459F #9F317C #9F8B31 #319F54
square
#31459F #9F317C #9F8B31 #319F54
split-complementary
#31459F #9F5431 #7C9F31
monochromatic
#141C41 #233170 #31459F #475EC6 #7687D5
Accessibility & contrast
On white
8.46
#31459F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#31459F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31459F
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31459F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31459F | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052A2
Deuteranopia (green-blind)
#00489D
Tritanopia (blue-blind)
#005B6B
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #31459f; /* rgb */ color: rgb(49, 69, 159); /* oklch */ color: oklch(42.9% 0.148 269.7);
Tailwind
colors: {
custom: {
50: '#7778bc',
500: '#31459f',
950: '#000000',
},
}SCSS
$custom: #31459f; $custom-light: #7778bc; $custom-dark: #000000;
JSON
{
"hex": "#31459f",
"rgb": {
"r": 49,
"g": 69,
"b": 159
},
"hsl": {
"h": 229.091,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.42887,
"c": 0.14764,
"h": 269.7
},
"luminance": 0.07412
}Semantic roles & 50–950 ramp
primary
#31459F
secondary
#BDAF6F
accent
#C24CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81