#314CB2#314CB2
#314CB2 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.8% C 0.165 H 268.0°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #314CB2 |
|---|---|
| RGB | rgb(49, 76, 178) |
| HSL | hsl(227, 57%, 45%) |
| HSV | hsv(227, 72%, 70%) |
| CMYK | cmyk(72.5%, 57.3%, 0%, 30.2%) |
| CIE-LAB | lab(36.05, 25.66, -57.25) |
| CIE-LCH | lch(36.05, 62.74, 294.14°) |
| OKLab | oklab(45.84% -0.0058 -0.165) |
| OKLCH | oklch(45.84% 0.165 268) |
| XYZ | xyz(11.8842, 9.0350, 43.2285) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.63
Sapphire
#0F52BA
ΔE00 3.78
Blue Blue
#2242C7
ΔE00 4.22
Cobalt (survey)
#1E488F
ΔE00 5.86
Sapphire (survey)
#2138AB
ΔE00 6.05
Blue (survey)
#0343DF
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CB2 #B29731
analogous
#318DB2 #314CB2 #5731B2
triadic
#314CB2 #B2314C #4CB231
tetradic
#314CB2 #B2318D #B29731 #31B257
square
#314CB2 #B2318D #B29731 #31B257
split-complementary
#314CB2 #B25731 #8DB231
monochromatic
#172352 #243882 #314CB2 #516BCF #8194DC
Accessibility & contrast
On white
7.48
#314CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#314CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CB2
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CB2 | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314cb2; /* rgb */ color: rgb(49, 76, 178); /* oklch */ color: oklch(45.8% 0.165 268.0);
Tailwind
colors: {
custom: {
50: '#7b7dca',
500: '#314cb2',
950: '#000000',
},
}SCSS
$custom: #314cb2; $custom-light: #7b7dca; $custom-dark: #000000;
JSON
{
"hex": "#314cb2",
"rgb": {
"r": 49,
"g": 76,
"b": 178
},
"hsl": {
"h": 227.442,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.45838,
"c": 0.16514,
"h": 268
},
"luminance": 0.09036
}Semantic roles & 50–950 ramp
primary
#314CB2
secondary
#C5B679
accent
#C048E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82