#314AB4#314AB4
#314AB4 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.6% C 0.170 H 268.6°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #314AB4 |
|---|---|
| RGB | rgb(49, 74, 180) |
| HSL | hsl(229, 57%, 45%) |
| HSV | hsv(229, 73%, 71%) |
| CMYK | cmyk(72.8%, 58.9%, 0%, 29.4%) |
| CIE-LAB | lab(35.68, 27.72, -59.03) |
| CIE-LCH | lch(35.68, 65.21, 295.15°) |
| OKLab | oklab(45.61% -0.0042 -0.1703) |
| OKLCH | oklch(45.61% 0.17 268.6) |
| XYZ | xyz(11.9508, 8.8446, 44.2485) |
| Luminance | 0.0885 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.52
Cobalt
#0047AB
ΔE00 3.83
Sapphire
#0F52BA
ΔE00 4.34
Sapphire (survey)
#2138AB
ΔE00 5.43
Ocean Blue
#4F42B5
ΔE00 5.59
Blue (survey)
#0343DF
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AB4 #B49B31
analogous
#318BB4 #314AB4 #5A31B4
triadic
#314AB4 #B4314A #4AB431
tetradic
#314AB4 #B4318B #B49B31 #31B45A
square
#314AB4 #B4318B #B49B31 #31B45A
split-complementary
#314AB4 #B45A31 #8BB431
monochromatic
#172254 #243684 #314AB4 #526AD0 #8294DD
Accessibility & contrast
On white
7.58
#314AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#314AB4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AB4
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AB4 | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004EB2
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314ab4; /* rgb */ color: rgb(49, 74, 180); /* oklch */ color: oklch(45.6% 0.170 268.6);
Tailwind
colors: {
custom: {
50: '#7b7ccb',
500: '#314ab4',
950: '#000000',
},
}SCSS
$custom: #314ab4; $custom-light: #7b7ccb; $custom-dark: #000000;
JSON
{
"hex": "#314ab4",
"rgb": {
"r": 49,
"g": 74,
"b": 180
},
"hsl": {
"h": 228.55,
"s": 57.205,
"l": 44.902
},
"oklch": {
"l": 0.45612,
"c": 0.17036,
"h": 268.6
},
"luminance": 0.08846
}Semantic roles & 50–950 ramp
primary
#314AB4
secondary
#C6B87B
accent
#C347E0
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82