#314AB2#314AB2
#314AB2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.4% C 0.168 H 268.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).
Color values
| HEX | #314AB2 |
|---|---|
| RGB | rgb(49, 74, 178) |
| HSL | hsl(228, 57%, 45%) |
| HSV | hsv(228, 72%, 70%) |
| CMYK | cmyk(72.5%, 58.4%, 0%, 30.2%) |
| CIE-LAB | lab(35.53, 26.98, -58.11) |
| CIE-LCH | lch(35.53, 64.06, 294.90°) |
| OKLab | oklab(45.45% -0.0043 -0.1676) |
| OKLCH | oklch(45.45% 0.168 268.5) |
| XYZ | xyz(11.7485, 8.7637, 43.1832) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.68
Blue Blue
#2242C7
ΔE00 3.74
Sapphire
#0F52BA
ΔE00 4.33
Sapphire (survey)
#2138AB
ΔE00 5.41
Ocean Blue
#4F42B5
ΔE00 5.70
Blue (survey)
#0343DF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AB2 #B29931
analogous
#318BB2 #314AB2 #5931B2
triadic
#314AB2 #B2314A #4AB231
tetradic
#314AB2 #B2318B #B29931 #31B259
square
#314AB2 #B2318B #B29931 #31B259
split-complementary
#314AB2 #B25931 #8BB231
monochromatic
#172252 #243682 #314AB2 #516ACF #8193DC
Accessibility & contrast
On white
7.63
#314AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#314AB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AB2
7.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AB2 | 1.00 | 7.63 | 2.75 | 7.63 |
| #FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314ab2; /* rgb */ color: rgb(49, 74, 178); /* oklch */ color: oklch(45.4% 0.168 268.5);
Tailwind
colors: {
custom: {
50: '#7b7cca',
500: '#314ab2',
950: '#000000',
},
}SCSS
$custom: #314ab2; $custom-light: #7b7cca; $custom-dark: #000000;
JSON
{
"hex": "#314ab2",
"rgb": {
"r": 49,
"g": 74,
"b": 178
},
"hsl": {
"h": 228.372,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.45445,
"c": 0.16765,
"h": 268.5
},
"luminance": 0.08765
}Semantic roles & 50–950 ramp
primary
#314AB2
secondary
#C5B779
accent
#C348E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82