#314EB9#314EB9
#314EB9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.172 H 267.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).
Color values
| HEX | #314EB9 |
|---|---|
| RGB | rgb(49, 78, 185) |
| HSL | hsl(227, 58%, 46%) |
| HSV | hsv(227, 74%, 73%) |
| CMYK | cmyk(73.5%, 57.8%, 0%, 27.5%) |
| CIE-LAB | lab(37.12, 26.95, -59.64) |
| CIE-LCH | lch(37.12, 65.45, 294.32°) |
| OKLab | oklab(46.81% -0.0071 -0.172) |
| OKLCH | oklch(46.81% 0.172 267.6) |
| XYZ | xyz(12.7449, 9.6032, 47.0714) |
| Luminance | 0.0960 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.42
Blue Blue
#2242C7
ΔE00 4.13
Cobalt
#0047AB
ΔE00 4.25
Blue (survey)
#0343DF
ΔE00 5.62
Warm Blue
#4B57DB
ΔE00 6.39
Ocean Blue
#4F42B5
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EB9 #B99C31
analogous
#3192B9 #314EB9 #5831B9
triadic
#314EB9 #B9314E #4EB931
tetradic
#314EB9 #B93192 #B99C31 #31B958
square
#314EB9 #B93192 #B99C31 #31B958
split-complementary
#314EB9 #B95831 #92B931
monochromatic
#172558 #243A89 #314EB9 #5570D2 #8699DF
Accessibility & contrast
On white
7.19
#314EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#314EB9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EB9
7.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EB9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EB9 | 1.00 | 7.19 | 2.92 | 7.19 |
| #FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #314eb9; /* rgb */ color: rgb(49, 78, 185); /* oklch */ color: oklch(46.8% 0.172 267.6);
Tailwind
colors: {
custom: {
50: '#7c7fcf',
500: '#314eb9',
950: '#000000',
},
}SCSS
$custom: #314eb9; $custom-light: #7c7fcf; $custom-dark: #000000;
JSON
{
"hex": "#314eb9",
"rgb": {
"r": 49,
"g": 78,
"b": 185
},
"hsl": {
"h": 227.206,
"s": 58.12,
"l": 45.882
},
"oklch": {
"l": 0.46809,
"c": 0.17219,
"h": 267.6
},
"luminance": 0.09605
}Semantic roles & 50–950 ramp
primary
#314EB9
secondary
#C8B87D
accent
#C046E1
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82