#31439F#31439F
#31439F is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.150 H 270.3°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #31439F |
|---|---|
| RGB | rgb(49, 67, 159) |
| HSL | hsl(230, 53%, 41%) |
| HSV | hsv(230, 69%, 62%) |
| CMYK | cmyk(69.2%, 57.9%, 0%, 37.6%) |
| CIE-LAB | lab(32.19, 24.57, -52.17) |
| CIE-LCH | lch(32.19, 57.66, 295.22°) |
| OKLab | oklab(42.49% 0.0009 -0.1502) |
| OKLCH | oklch(42.49% 0.15 270.3) |
| XYZ | xyz(9.5297, 7.1696, 33.6758) |
| Luminance | 0.0717 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.94
Blueberry
#464196
ΔE00 4.09
Cobalt
#0047AB
ΔE00 4.21
Cobalt (survey)
#1E488F
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.47
Ocean Blue
#4F42B5
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31439F #9F8D31
analogous
#317A9F #31439F #56319F
triadic
#31439F #9F3143 #439F31
tetradic
#31439F #9F317A #9F8D31 #319F56
square
#31439F #9F317A #9F8D31 #319F56
split-complementary
#31439F #9F5631 #7A9F31
monochromatic
#141C41 #232F70 #31439F #475CC6 #7685D5
Accessibility & contrast
On white
8.63
#31439F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#31439F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #31439F
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31439F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##31439F | 1.00 | 8.63 | 2.43 | 8.63 |
| #FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A2
Deuteranopia (green-blind)
#00479D
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #31439f; /* rgb */ color: rgb(49, 67, 159); /* oklch */ color: oklch(42.5% 0.150 270.3);
Tailwind
colors: {
custom: {
50: '#7776bc',
500: '#31439f',
950: '#000000',
},
}SCSS
$custom: #31439f; $custom-light: #7776bc; $custom-dark: #000000;
JSON
{
"hex": "#31439f",
"rgb": {
"r": 49,
"g": 67,
"b": 159
},
"hsl": {
"h": 230.182,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.42486,
"c": 0.15022,
"h": 270.3
},
"luminance": 0.0717
}Semantic roles & 50–950 ramp
primary
#31439F
secondary
#BDB06F
accent
#C54CDC
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0812
muted
#7C7B81