#314EB4#314EB4
#314EB4 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.4% C 0.165 H 267.5°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #314EB4 |
|---|---|
| RGB | rgb(49, 78, 180) |
| HSL | hsl(227, 57%, 45%) |
| HSV | hsv(227, 73%, 71%) |
| CMYK | cmyk(72.8%, 56.7%, 0%, 29.4%) |
| CIE-LAB | lab(36.74, 25.09, -57.32) |
| CIE-LCH | lch(36.74, 62.57, 293.64°) |
| OKLab | oklab(46.4% -0.0073 -0.1652) |
| OKLCH | oklch(46.4% 0.165 267.5) |
| XYZ | xyz(12.2264, 9.3958, 44.3404) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.29
Cobalt
#0047AB
ΔE00 3.85
Blue Blue
#2242C7
ΔE00 4.55
Cobalt (survey)
#1E488F
ΔE00 6.05
Blue (survey)
#0343DF
ΔE00 6.22
Denim Blue
#3B5B92
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EB4 #B49731
analogous
#318FB4 #314EB4 #5631B4
triadic
#314EB4 #B4314E #4EB431
tetradic
#314EB4 #B4318F #B49731 #31B456
square
#314EB4 #B4318F #B49731 #31B456
split-complementary
#314EB4 #B45631 #8FB431
monochromatic
#172454 #243984 #314EB4 #526ED0 #8296DD
Accessibility & contrast
On white
7.29
#314EB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#314EB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EB4
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EB4 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DB7
Deuteranopia (green-blind)
#0051B2
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #314eb4; /* rgb */ color: rgb(49, 78, 180); /* oklch */ color: oklch(46.4% 0.165 267.5);
Tailwind
colors: {
custom: {
50: '#7b7fcb',
500: '#314eb4',
950: '#000000',
},
}SCSS
$custom: #314eb4; $custom-light: #7b7fcb; $custom-dark: #000000;
JSON
{
"hex": "#314eb4",
"rgb": {
"r": 49,
"g": 78,
"b": 180
},
"hsl": {
"h": 226.718,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.46399,
"c": 0.16538,
"h": 267.5
},
"luminance": 0.09397
}Semantic roles & 50–950 ramp
primary
#314EB4
secondary
#C6B67B
accent
#BF47E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82