#314BAE#314BAE
#314BAE is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.161 H 268.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #314BAE |
|---|---|
| RGB | rgb(49, 75, 174) |
| HSL | hsl(228, 56%, 44%) |
| HSV | hsv(228, 72%, 68%) |
| CMYK | cmyk(71.8%, 56.9%, 0%, 31.8%) |
| CIE-LAB | lab(35.48, 24.83, -55.81) |
| CIE-LCH | lch(35.48, 61.09, 293.99°) |
| OKLab | oklab(45.31% -0.0052 -0.1608) |
| OKLCH | oklch(45.31% 0.161 268.1) |
| XYZ | xyz(11.4200, 8.7399, 41.1213) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.40
Sapphire
#0F52BA
ΔE00 4.07
Blue Blue
#2242C7
ΔE00 4.43
Cobalt (survey)
#1E488F
ΔE00 5.41
Sapphire (survey)
#2138AB
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BAE #AE9431
analogous
#3189AE #314BAE #5531AE
triadic
#314BAE #AE314B #4BAE31
tetradic
#314BAE #AE3189 #AE9431 #31AE55
square
#314BAE #AE3189 #AE9431 #31AE55
split-complementary
#314BAE #AE5531 #89AE31
monochromatic
#16224E #24367E #314BAE #4F69CD #7F92DB
Accessibility & contrast
On white
7.64
#314BAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#314BAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BAE
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BAE | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314bae; /* rgb */ color: rgb(49, 75, 174); /* oklch */ color: oklch(45.3% 0.161 268.1);
Tailwind
colors: {
custom: {
50: '#7a7cc7',
500: '#314bae',
950: '#000000',
},
}SCSS
$custom: #314bae; $custom-light: #7a7cc7; $custom-dark: #000000;
JSON
{
"hex": "#314bae",
"rgb": {
"r": 49,
"g": 75,
"b": 174
},
"hsl": {
"h": 227.52,
"s": 56.054,
"l": 43.725
},
"oklch": {
"l": 0.45312,
"c": 0.1609,
"h": 268.1
},
"luminance": 0.08741
}Semantic roles & 50–950 ramp
primary
#314BAE
secondary
#C4B477
accent
#C048DF
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82