#314FB4#314FB4
#314FB4 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.164 H 267.2°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #314FB4 |
|---|---|
| RGB | rgb(49, 79, 180) |
| HSL | hsl(226, 57%, 45%) |
| HSV | hsv(226, 73%, 71%) |
| CMYK | cmyk(72.8%, 56.1%, 0%, 29.4%) |
| CIE-LAB | lab(37.00, 24.44, -56.89) |
| CIE-LCH | lch(37.00, 61.91, 293.25°) |
| OKLab | oklab(46.6% -0.0081 -0.1639) |
| OKLCH | oklch(46.6% 0.164 267.2) |
| XYZ | xyz(12.2980, 9.5389, 44.3642) |
| Luminance | 0.0954 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.06
Cobalt
#0047AB
ΔE00 3.93
Blue Blue
#2242C7
ΔE00 4.83
Cobalt (survey)
#1E488F
ΔE00 6.05
Denim Blue
#3B5B92
ΔE00 6.33
Blue (survey)
#0343DF
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FB4 #B49631
analogous
#3190B4 #314FB4 #5531B4
triadic
#314FB4 #B4314F #4FB431
tetradic
#314FB4 #B43190 #B49631 #31B455
square
#314FB4 #B43190 #B49631 #31B455
split-complementary
#314FB4 #B45531 #90B431
monochromatic
#172554 #243A84 #314FB4 #526FD0 #8297DD
Accessibility & contrast
On white
7.22
#314FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#314FB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314FB4
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FB4 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #314fb4; /* rgb */ color: rgb(49, 79, 180); /* oklch */ color: oklch(46.6% 0.164 267.2);
Tailwind
colors: {
custom: {
50: '#7b7fcb',
500: '#314fb4',
950: '#000000',
},
}SCSS
$custom: #314fb4; $custom-light: #7b7fcb; $custom-dark: #000000;
JSON
{
"hex": "#314fb4",
"rgb": {
"r": 49,
"g": 79,
"b": 180
},
"hsl": {
"h": 226.26,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.46599,
"c": 0.16413,
"h": 267.2
},
"luminance": 0.0954
}Semantic roles & 50–950 ramp
primary
#314FB4
secondary
#C6B57B
accent
#BD47E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82