#314AB5#314AB5
#314AB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.172 H 268.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #314AB5 |
|---|---|
| RGB | rgb(49, 74, 181) |
| HSL | hsl(229, 57%, 45%) |
| HSV | hsv(229, 73%, 71%) |
| CMYK | cmyk(72.9%, 59.1%, 0%, 29%) |
| CIE-LAB | lab(35.76, 28.09, -59.49) |
| CIE-LCH | lch(35.76, 65.79, 295.27°) |
| OKLab | oklab(45.7% -0.0042 -0.1717) |
| OKLCH | oklch(45.7% 0.172 268.6) |
| XYZ | xyz(12.0530, 8.8855, 44.7870) |
| Luminance | 0.0889 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.41
Cobalt
#0047AB
ΔE00 3.91
Sapphire
#0F52BA
ΔE00 4.36
Sapphire (survey)
#2138AB
ΔE00 5.44
Blue (survey)
#0343DF
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AB5 #B59C31
analogous
#318CB5 #314AB5 #5A31B5
triadic
#314AB5 #B5314A #4AB531
tetradic
#314AB5 #B5318C #B59C31 #31B55A
square
#314AB5 #B5318C #B59C31 #31B55A
split-complementary
#314AB5 #B55A31 #8CB531
monochromatic
#172355 #243685 #314AB5 #536BD0 #8394DD
Accessibility & contrast
On white
7.56
#314AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#314AB5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AB5
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AB5 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #314ab5; /* rgb */ color: rgb(49, 74, 181); /* oklch */ color: oklch(45.7% 0.172 268.6);
Tailwind
colors: {
custom: {
50: '#7b7ccc',
500: '#314ab5',
950: '#000000',
},
}SCSS
$custom: #314ab5; $custom-light: #7b7ccc; $custom-dark: #000000;
JSON
{
"hex": "#314ab5",
"rgb": {
"r": 49,
"g": 74,
"b": 181
},
"hsl": {
"h": 228.636,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.45696,
"c": 0.17171,
"h": 268.6
},
"luminance": 0.08887
}Semantic roles & 50–950 ramp
primary
#314AB5
secondary
#C7B87B
accent
#C447E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82