#314EA7#314EA7
#314EA7 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.4% C 0.147 H 266.8°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #314EA7 |
|---|---|
| RGB | rgb(49, 78, 167) |
| HSL | hsl(225, 55%, 42%) |
| HSV | hsv(225, 71%, 65%) |
| CMYK | cmyk(70.7%, 53.3%, 0%, 34.5%) |
| CIE-LAB | lab(35.77, 20.23, -51.16) |
| CIE-LCH | lch(35.77, 55.02, 291.58°) |
| OKLab | oklab(45.37% -0.0082 -0.1471) |
| OKLCH | oklch(45.37% 0.147 266.8) |
| XYZ | xyz(10.9636, 8.8907, 37.6900) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.38
Sapphire
#0F52BA
ΔE00 3.61
Cobalt (survey)
#1E488F
ΔE00 4.42
Dusk Blue
#26538D
ΔE00 5.32
Denim Blue
#3B5B92
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EA7 #A78A31
analogous
#3189A7 #314EA7 #4F31A7
triadic
#314EA7 #A7314E #4EA731
tetradic
#314EA7 #A73189 #A78A31 #31A74F
square
#314EA7 #A73189 #A78A31 #31A74F
split-complementary
#314EA7 #A74F31 #89A731
monochromatic
#152248 #233878 #314EA7 #4B6ACA #7A91D8
Accessibility & contrast
On white
7.56
#314EA7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#314EA7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EA7
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EA7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EA7 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#115AAA
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#006373
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314ea7; /* rgb */ color: rgb(49, 78, 167); /* oklch */ color: oklch(45.4% 0.147 266.8);
Tailwind
colors: {
custom: {
50: '#787fc2',
500: '#314ea7',
950: '#000000',
},
}SCSS
$custom: #314ea7; $custom-light: #787fc2; $custom-dark: #000000;
JSON
{
"hex": "#314ea7",
"rgb": {
"r": 49,
"g": 78,
"b": 167
},
"hsl": {
"h": 225.254,
"s": 54.63,
"l": 42.353
},
"oklch": {
"l": 0.4537,
"c": 0.14734,
"h": 266.8
},
"luminance": 0.08892
}Semantic roles & 50–950 ramp
primary
#314EA7
secondary
#C1AE73
accent
#BA4ADE
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81