#314BB1#314BB1
#314BB1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.165 H 268.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #314BB1 |
|---|---|
| RGB | rgb(49, 75, 177) |
| HSL | hsl(228, 57%, 44%) |
| HSV | hsv(228, 72%, 69%) |
| CMYK | cmyk(72.3%, 57.6%, 0%, 30.6%) |
| CIE-LAB | lab(35.71, 25.95, -57.21) |
| CIE-LCH | lch(35.71, 62.82, 294.40°) |
| OKLab | oklab(45.56% -0.0051 -0.165) |
| OKLCH | oklch(45.56% 0.165 268.2) |
| XYZ | xyz(11.7158, 8.8582, 42.6788) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.57
Sapphire
#0F52BA
ΔE00 4.05
Blue Blue
#2242C7
ΔE00 4.08
Sapphire (survey)
#2138AB
ΔE00 5.72
Cobalt (survey)
#1E488F
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BB1 #B19731
analogous
#318BB1 #314BB1 #5731B1
triadic
#314BB1 #B1314B #4BB131
tetradic
#314BB1 #B1318B #B19731 #31B157
square
#314BB1 #B1318B #B19731 #31B157
split-complementary
#314BB1 #B15731 #8BB131
monochromatic
#162251 #243781 #314BB1 #516ACF #8093DC
Accessibility & contrast
On white
7.58
#314BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#314BB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BB1
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BB1 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314bb1; /* rgb */ color: rgb(49, 75, 177); /* oklch */ color: oklch(45.6% 0.165 268.2);
Tailwind
colors: {
custom: {
50: '#7a7cc9',
500: '#314bb1',
950: '#000000',
},
}SCSS
$custom: #314bb1; $custom-light: #7a7cc9; $custom-dark: #000000;
JSON
{
"hex": "#314bb1",
"rgb": {
"r": 49,
"g": 75,
"b": 177
},
"hsl": {
"h": 227.813,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.45558,
"c": 0.16503,
"h": 268.2
},
"luminance": 0.08859
}Semantic roles & 50–950 ramp
primary
#314BB1
secondary
#C5B679
accent
#C148E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82