#314CB5#314CB5
#314CB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.169 H 268.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #314CB5 |
|---|---|
| RGB | rgb(49, 76, 181) |
| HSL | hsl(228, 57%, 45%) |
| HSV | hsv(228, 73%, 71%) |
| CMYK | cmyk(72.9%, 58%, 0%, 29%) |
| CIE-LAB | lab(36.28, 26.78, -58.64) |
| CIE-LCH | lch(36.28, 64.47, 294.54°) |
| OKLab | oklab(46.09% -0.0057 -0.1691) |
| OKLCH | oklch(46.09% 0.169 268.1) |
| XYZ | xyz(12.1887, 9.1568, 44.8322) |
| Luminance | 0.0916 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.81
Cobalt
#0047AB
ΔE00 3.85
Blue Blue
#2242C7
ΔE00 3.91
Blue (survey)
#0343DF
ΔE00 5.78
Ocean Blue
#4F42B5
ΔE00 6.03
Sapphire (survey)
#2138AB
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CB5 #B59A31
analogous
#318EB5 #314CB5 #5831B5
triadic
#314CB5 #B5314C #4CB531
tetradic
#314CB5 #B5318E #B59A31 #31B558
square
#314CB5 #B5318E #B59A31 #31B558
split-complementary
#314CB5 #B55831 #8EB531
monochromatic
#172455 #243885 #314CB5 #536CD0 #8395DD
Accessibility & contrast
On white
7.42
#314CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#314CB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CB5
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CB5 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314cb5; /* rgb */ color: rgb(49, 76, 181); /* oklch */ color: oklch(46.1% 0.169 268.1);
Tailwind
colors: {
custom: {
50: '#7b7dcc',
500: '#314cb5',
950: '#000000',
},
}SCSS
$custom: #314cb5; $custom-light: #7b7dcc; $custom-dark: #000000;
JSON
{
"hex": "#314cb5",
"rgb": {
"r": 49,
"g": 76,
"b": 181
},
"hsl": {
"h": 227.727,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.46086,
"c": 0.16924,
"h": 268.1
},
"luminance": 0.09158
}Semantic roles & 50–950 ramp
primary
#314CB5
secondary
#C7B77B
accent
#C147E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82