#314BB9#314BB9
#314BB9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.176 H 268.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #314BB9 |
|---|---|
| RGB | rgb(49, 75, 185) |
| HSL | hsl(229, 58%, 46%) |
| HSV | hsv(229, 74%, 73%) |
| CMYK | cmyk(73.5%, 59.5%, 0%, 27.5%) |
| CIE-LAB | lab(36.34, 28.91, -60.91) |
| CIE-LCH | lch(36.34, 67.42, 295.39°) |
| OKLab | oklab(46.23% -0.0049 -0.1758) |
| OKLCH | oklch(46.23% 0.176 268.4) |
| XYZ | xyz(12.5366, 9.1866, 47.0020) |
| Luminance | 0.0919 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.28
Sapphire
#0F52BA
ΔE00 4.19
Cobalt
#0047AB
ΔE00 4.21
Blue (survey)
#0343DF
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.62
Sapphire (survey)
#2138AB
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314BB9 #B99F31
analogous
#318FB9 #314BB9 #5B31B9
triadic
#314BB9 #B9314B #4BB931
tetradic
#314BB9 #B9318F #B99F31 #31B95B
square
#314BB9 #B9318F #B99F31 #31B95B
split-complementary
#314BB9 #B95B31 #8FB931
monochromatic
#172458 #243789 #314BB9 #556DD2 #8697DF
Accessibility & contrast
On white
7.40
#314BB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#314BB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314BB9
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314BB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314BB9 | 1.00 | 7.40 | 2.84 | 7.40 |
| #FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #314bb9; /* rgb */ color: rgb(49, 75, 185); /* oklch */ color: oklch(46.2% 0.176 268.4);
Tailwind
colors: {
custom: {
50: '#7c7dcf',
500: '#314bb9',
950: '#000000',
},
}SCSS
$custom: #314bb9; $custom-light: #7c7dcf; $custom-dark: #000000;
JSON
{
"hex": "#314bb9",
"rgb": {
"r": 49,
"g": 75,
"b": 185
},
"hsl": {
"h": 228.529,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.46227,
"c": 0.17588,
"h": 268.4
},
"luminance": 0.09188
}Semantic roles & 50–950 ramp
primary
#314BB9
secondary
#C8BA7D
accent
#C446E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82