#314AB9#314AB9
#314AB9 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.0% C 0.177 H 268.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #314AB9 |
|---|---|
| RGB | rgb(49, 74, 185) |
| HSL | hsl(229, 58%, 46%) |
| HSV | hsv(229, 74%, 73%) |
| CMYK | cmyk(73.5%, 60%, 0%, 27.5%) |
| CIE-LAB | lab(36.08, 29.56, -61.33) |
| CIE-LCH | lch(36.08, 68.08, 295.73°) |
| OKLab | oklab(46.04% -0.0042 -0.1771) |
| OKLCH | oklch(46.04% 0.177 268.6) |
| XYZ | xyz(12.4693, 9.0520, 46.9796) |
| Luminance | 0.0905 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.02
Cobalt
#0047AB
ΔE00 4.26
Sapphire
#0F52BA
ΔE00 4.46
Blue (survey)
#0343DF
ΔE00 5.01
Ocean Blue
#4F42B5
ΔE00 5.38
Sapphire (survey)
#2138AB
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AB9 #B9A031
analogous
#318EB9 #314AB9 #5C31B9
triadic
#314AB9 #B9314A #4AB931
tetradic
#314AB9 #B9318E #B9A031 #31B95C
square
#314AB9 #B9318E #B9A031 #31B95C
split-complementary
#314AB9 #B95C31 #8EB931
monochromatic
#172358 #243789 #314AB9 #556CD2 #8696DF
Accessibility & contrast
On white
7.47
#314AB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#314AB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314AB9
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AB9 | 1.00 | 7.47 | 2.81 | 7.47 |
| #FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314ab9; /* rgb */ color: rgb(49, 74, 185); /* oklch */ color: oklch(46.0% 0.177 268.6);
Tailwind
colors: {
custom: {
50: '#7c7ccf',
500: '#314ab9',
950: '#000000',
},
}SCSS
$custom: #314ab9; $custom-light: #7c7ccf; $custom-dark: #000000;
JSON
{
"hex": "#314ab9",
"rgb": {
"r": 49,
"g": 74,
"b": 185
},
"hsl": {
"h": 228.971,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.46036,
"c": 0.1771,
"h": 268.6
},
"luminance": 0.09053
}Semantic roles & 50–950 ramp
primary
#314AB9
secondary
#C8BB7D
accent
#C546E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82