#314EAB#314EAB
#314EAB is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.153 H 267.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).
Color values
| HEX | #314EAB |
|---|---|
| RGB | rgb(49, 78, 171) |
| HSL | hsl(226, 55%, 43%) |
| HSV | hsv(226, 71%, 67%) |
| CMYK | cmyk(71.3%, 54.4%, 0%, 32.9%) |
| CIE-LAB | lab(36.06, 21.73, -53.08) |
| CIE-LCH | lch(36.06, 57.35, 292.27°) |
| OKLab | oklab(45.68% -0.0079 -0.1527) |
| OKLCH | oklch(45.68% 0.153 267.1) |
| XYZ | xyz(11.3391, 9.0409, 39.6677) |
| Luminance | 0.0904 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.41
Cobalt
#0047AB
ΔE00 3.42
Cobalt (survey)
#1E488F
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.49
Dusk Blue
#26538D
ΔE00 5.75
Denim Blue
#3B5B92
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EAB #AB8E31
analogous
#318BAB #314EAB #5131AB
triadic
#314EAB #AB314E #4EAB31
tetradic
#314EAB #AB318B #AB8E31 #31AB51
square
#314EAB #AB318B #AB8E31 #31AB51
split-complementary
#314EAB #AB5131 #8BAB31
monochromatic
#16234C #23387B #314EAB #4D6BCC #7D93DA
Accessibility & contrast
On white
7.48
#314EAB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#314EAB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EAB
7.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EAB | 1.00 | 7.48 | 2.81 | 7.48 |
| #FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#055BAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314eab; /* rgb */ color: rgb(49, 78, 171); /* oklch */ color: oklch(45.7% 0.153 267.1);
Tailwind
colors: {
custom: {
50: '#797fc5',
500: '#314eab',
950: '#000000',
},
}SCSS
$custom: #314eab; $custom-light: #797fc5; $custom-dark: #000000;
JSON
{
"hex": "#314eab",
"rgb": {
"r": 49,
"g": 78,
"b": 171
},
"hsl": {
"h": 225.738,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.45681,
"c": 0.15294,
"h": 267.1
},
"luminance": 0.09042
}Semantic roles & 50–950 ramp
primary
#314EAB
secondary
#C2B075
accent
#BB49DF
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82