#314AB0#314AB0
#314AB0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.165 H 268.5°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #314AB0 |
|---|---|
| RGB | rgb(49, 74, 176) |
| HSL | hsl(228, 56%, 44%) |
| HSV | hsv(228, 72%, 69%) |
| CMYK | cmyk(72.2%, 58%, 0%, 31%) |
| CIE-LAB | lab(35.37, 26.24, -57.18) |
| CIE-LCH | lch(35.37, 62.91, 294.65°) |
| OKLab | oklab(45.28% -0.0043 -0.1648) |
| OKLCH | oklch(45.28% 0.165 268.5) |
| XYZ | xyz(11.5492, 8.6839, 42.1334) |
| Luminance | 0.0868 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 3.55
Blue Blue
#2242C7
ΔE00 3.97
Sapphire
#0F52BA
ΔE00 4.33
Sapphire (survey)
#2138AB
ΔE00 5.40
Cobalt (survey)
#1E488F
ΔE00 5.75
Ocean Blue
#4F42B5
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AB0 #B09731
analogous
#318AB0 #314AB0 #5831B0
triadic
#314AB0 #B0314A #4AB031
tetradic
#314AB0 #B0318A #B09731 #31B058
square
#314AB0 #B0318A #B09731 #31B058
split-complementary
#314AB0 #B05831 #8AB031
monochromatic
#162250 #243680 #314AB0 #5069CE #8092DC
Accessibility & contrast
On white
7.67
#314AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#314AB0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AB0
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AB0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AB0 | 1.00 | 7.67 | 2.74 | 7.67 |
| #FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#004EAE
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #314ab0; /* rgb */ color: rgb(49, 74, 176); /* oklch */ color: oklch(45.3% 0.165 268.5);
Tailwind
colors: {
custom: {
50: '#7a7cc8',
500: '#314ab0',
950: '#000000',
},
}SCSS
$custom: #314ab0; $custom-light: #7a7cc8; $custom-dark: #000000;
JSON
{
"hex": "#314ab0",
"rgb": {
"r": 49,
"g": 74,
"b": 176
},
"hsl": {
"h": 228.189,
"s": 56.444,
"l": 44.118
},
"oklch": {
"l": 0.45278,
"c": 0.16491,
"h": 268.5
},
"luminance": 0.08685
}Semantic roles & 50–950 ramp
primary
#314AB0
secondary
#C5B678
accent
#C248E0
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0913
muted
#7C7B82