#314CB1#314CB1
#314CB1 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.164 H 267.9°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #314CB1 |
|---|---|
| RGB | rgb(49, 76, 177) |
| HSL | hsl(227, 57%, 44%) |
| HSV | hsv(227, 72%, 69%) |
| CMYK | cmyk(72.3%, 57.1%, 0%, 30.6%) |
| CIE-LAB | lab(35.97, 25.29, -56.78) |
| CIE-LCH | lch(35.97, 62.16, 294.01°) |
| OKLab | oklab(45.76% -0.0059 -0.1637) |
| OKLCH | oklch(45.76% 0.164 267.9) |
| XYZ | xyz(11.7841, 8.9950, 42.7016) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.57
Sapphire
#0F52BA
ΔE00 3.78
Blue Blue
#2242C7
ΔE00 4.32
Cobalt (survey)
#1E488F
ΔE00 5.73
Sapphire (survey)
#2138AB
ΔE00 6.05
Ocean Blue
#4F42B5
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CB1 #B19631
analogous
#318CB1 #314CB1 #5631B1
triadic
#314CB1 #B1314C #4CB131
tetradic
#314CB1 #B1318C #B19631 #31B156
square
#314CB1 #B1318C #B19631 #31B156
split-complementary
#314CB1 #B15631 #8CB131
monochromatic
#162351 #243781 #314CB1 #516BCF #8094DC
Accessibility & contrast
On white
7.50
#314CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#314CB1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CB1
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CB1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CB1 | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB4
Deuteranopia (green-blind)
#004FAF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314cb1; /* rgb */ color: rgb(49, 76, 177); /* oklch */ color: oklch(45.8% 0.164 267.9);
Tailwind
colors: {
custom: {
50: '#7a7dc9',
500: '#314cb1',
950: '#000000',
},
}SCSS
$custom: #314cb1; $custom-light: #7a7dc9; $custom-dark: #000000;
JSON
{
"hex": "#314cb1",
"rgb": {
"r": 49,
"g": 76,
"b": 177
},
"hsl": {
"h": 227.344,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.45756,
"c": 0.16378,
"h": 267.9
},
"luminance": 0.08996
}Semantic roles & 50–950 ramp
primary
#314CB1
secondary
#C5B579
accent
#C048E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82