#314CB3#314CB3
#314CB3 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.167 H 268.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #314CB3 |
|---|---|
| RGB | rgb(49, 76, 179) |
| HSL | hsl(228, 57%, 45%) |
| HSV | hsv(228, 73%, 70%) |
| CMYK | cmyk(72.6%, 57.5%, 0%, 29.8%) |
| CIE-LAB | lab(36.13, 26.03, -57.72) |
| CIE-LCH | lch(36.13, 63.32, 294.28°) |
| OKLab | oklab(45.92% -0.0058 -0.1664) |
| OKLCH | oklch(45.92% 0.167 268) |
| XYZ | xyz(11.9849, 9.0753, 43.7592) |
| Luminance | 0.0908 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.70
Sapphire
#0F52BA
ΔE00 3.79
Blue Blue
#2242C7
ΔE00 4.11
Cobalt (survey)
#1E488F
ΔE00 5.99
Blue (survey)
#0343DF
ΔE00 6.04
Sapphire (survey)
#2138AB
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CB3 #B39831
analogous
#318DB3 #314CB3 #5731B3
triadic
#314CB3 #B3314C #4CB331
tetradic
#314CB3 #B3318D #B39831 #31B357
square
#314CB3 #B3318D #B39831 #31B357
split-complementary
#314CB3 #B35731 #8DB331
monochromatic
#172353 #243883 #314CB3 #526CD0 #8295DD
Accessibility & contrast
On white
7.46
#314CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#314CB3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CB3
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CB3 | 1.00 | 7.46 | 2.82 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314cb3; /* rgb */ color: rgb(49, 76, 179); /* oklch */ color: oklch(45.9% 0.167 268.0);
Tailwind
colors: {
custom: {
50: '#7b7dcb',
500: '#314cb3',
950: '#000000',
},
}SCSS
$custom: #314cb3; $custom-light: #7b7dcb; $custom-dark: #000000;
JSON
{
"hex": "#314cb3",
"rgb": {
"r": 49,
"g": 76,
"b": 179
},
"hsl": {
"h": 227.538,
"s": 57.018,
"l": 44.706
},
"oklch": {
"l": 0.4592,
"c": 0.16651,
"h": 268
},
"luminance": 0.09077
}Semantic roles & 50–950 ramp
primary
#314CB3
secondary
#C6B67A
accent
#C148E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82