#314AB1#314AB1
#314AB1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.166 H 268.5°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #314AB1 |
|---|---|
| RGB | rgb(49, 74, 177) |
| HSL | hsl(228, 57%, 44%) |
| HSV | hsv(228, 72%, 69%) |
| CMYK | cmyk(72.3%, 58.2%, 0%, 30.6%) |
| CIE-LAB | lab(35.45, 26.61, -57.64) |
| CIE-LCH | lch(35.45, 63.49, 294.78°) |
| OKLab | oklab(45.36% -0.0043 -0.1662) |
| OKLCH | oklch(45.36% 0.166 268.5) |
| XYZ | xyz(11.6485, 8.7236, 42.6564) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.61
Blue Blue
#2242C7
ΔE00 3.86
Sapphire
#0F52BA
ΔE00 4.32
Sapphire (survey)
#2138AB
ΔE00 5.40
Ocean Blue
#4F42B5
ΔE00 5.76
Cobalt (survey)
#1E488F
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AB1 #B19831
analogous
#318AB1 #314AB1 #5831B1
triadic
#314AB1 #B1314A #4AB131
tetradic
#314AB1 #B1318A #B19831 #31B158
square
#314AB1 #B1318A #B19831 #31B158
split-complementary
#314AB1 #B15831 #8AB131
monochromatic
#162251 #243681 #314AB1 #5169CF #8092DC
Accessibility & contrast
On white
7.65
#314AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#314AB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AB1
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AB1 | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314ab1; /* rgb */ color: rgb(49, 74, 177); /* oklch */ color: oklch(45.4% 0.166 268.5);
Tailwind
colors: {
custom: {
50: '#7b7cc9',
500: '#314ab1',
950: '#000000',
},
}SCSS
$custom: #314ab1; $custom-light: #7b7cc9; $custom-dark: #000000;
JSON
{
"hex": "#314ab1",
"rgb": {
"r": 49,
"g": 74,
"b": 177
},
"hsl": {
"h": 228.281,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.45361,
"c": 0.16628,
"h": 268.5
},
"luminance": 0.08725
}Semantic roles & 50–950 ramp
primary
#314AB1
secondary
#C5B679
accent
#C248E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82