#314CAE#314CAE
#314CAE is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.160 H 267.8°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #314CAE |
|---|---|
| RGB | rgb(49, 76, 174) |
| HSL | hsl(227, 56%, 44%) |
| HSV | hsv(227, 72%, 68%) |
| CMYK | cmyk(71.8%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(35.75, 24.17, -55.38) |
| CIE-LCH | lch(35.75, 60.42, 293.58°) |
| OKLab | oklab(45.51% -0.006 -0.1595) |
| OKLCH | oklch(45.51% 0.16 267.8) |
| XYZ | xyz(11.4884, 8.8767, 41.1441) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.41
Sapphire
#0F52BA
ΔE00 3.81
Blue Blue
#2242C7
ΔE00 4.66
Cobalt (survey)
#1E488F
ΔE00 5.35
Sapphire (survey)
#2138AB
ΔE00 6.08
Blueberry
#464196
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314CAE #AE9331
analogous
#318AAE #314CAE #5431AE
triadic
#314CAE #AE314C #4CAE31
tetradic
#314CAE #AE318A #AE9331 #31AE54
square
#314CAE #AE318A #AE9331 #31AE54
split-complementary
#314CAE #AE5431 #8AAE31
monochromatic
#16224E #24377E #314CAE #4F6ACD #7F92DB
Accessibility & contrast
On white
7.57
#314CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#314CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314CAE
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314CAE | 1.00 | 7.57 | 2.78 | 7.57 |
| #FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314cae; /* rgb */ color: rgb(49, 76, 174); /* oklch */ color: oklch(45.5% 0.160 267.8);
Tailwind
colors: {
custom: {
50: '#7a7dc7',
500: '#314cae',
950: '#000000',
},
}SCSS
$custom: #314cae; $custom-light: #7a7dc7; $custom-dark: #000000;
JSON
{
"hex": "#314cae",
"rgb": {
"r": 49,
"g": 76,
"b": 174
},
"hsl": {
"h": 227.04,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.45513,
"c": 0.15964,
"h": 267.8
},
"luminance": 0.08878
}Semantic roles & 50–950 ramp
primary
#314CAE
secondary
#C4B377
accent
#BF48DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82