#314EAA#314EAA
#314EAA is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.6% C 0.152 H 267.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).
Color values
| HEX | #314EAA |
|---|---|
| RGB | rgb(49, 78, 170) |
| HSL | hsl(226, 55%, 43%) |
| HSV | hsv(226, 71%, 67%) |
| CMYK | cmyk(71.2%, 54.1%, 0%, 33.3%) |
| CIE-LAB | lab(35.99, 21.36, -52.60) |
| CIE-LCH | lch(35.99, 56.77, 292.10°) |
| OKLab | oklab(45.6% -0.0079 -0.1513) |
| OKLCH | oklch(45.6% 0.152 267) |
| XYZ | xyz(11.2442, 9.0029, 39.1676) |
| Luminance | 0.0900 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 3.45
Cobalt (survey)
#1E488F
ΔE00 4.79
Blue Blue
#2242C7
ΔE00 5.60
Dusk Blue
#26538D
ΔE00 5.64
Denim Blue
#3B5B92
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EAA #AA8D31
analogous
#318AAA #314EAA #5131AA
triadic
#314EAA #AA314E #4EAA31
tetradic
#314EAA #AA318A #AA8D31 #31AA51
square
#314EAA #AA318A #AA8D31 #31AA51
split-complementary
#314EAA #AA5131 #8AAA31
monochromatic
#16224B #23387A #314EAA #4D6BCC #7C92D9
Accessibility & contrast
On white
7.50
#314EAA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.80
#314EAA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EAA
7.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EAA | 1.00 | 7.50 | 2.80 | 7.50 |
| #FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#085AAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006474
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314eaa; /* rgb */ color: rgb(49, 78, 170); /* oklch */ color: oklch(45.6% 0.152 267.0);
Tailwind
colors: {
custom: {
50: '#797fc4',
500: '#314eaa',
950: '#000000',
},
}SCSS
$custom: #314eaa; $custom-light: #797fc4; $custom-dark: #000000;
JSON
{
"hex": "#314eaa",
"rgb": {
"r": 49,
"g": 78,
"b": 170
},
"hsl": {
"h": 225.62,
"s": 55.251,
"l": 42.941
},
"oklch": {
"l": 0.45602,
"c": 0.15155,
"h": 267
},
"luminance": 0.09004
}Semantic roles & 50–950 ramp
primary
#314EAA
secondary
#C2AF75
accent
#BB49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82