#314EBC#314EBC
#314EBC is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.176 H 267.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #314EBC |
|---|---|
| RGB | rgb(49, 78, 188) |
| HSL | hsl(227, 59%, 46%) |
| HSV | hsv(227, 74%, 74%) |
| CMYK | cmyk(73.9%, 58.5%, 0%, 26.3%) |
| CIE-LAB | lab(37.36, 28.06, -61.02) |
| CIE-LCH | lch(37.36, 67.16, 294.70°) |
| OKLab | oklab(47.06% -0.007 -0.1761) |
| OKLCH | oklch(47.06% 0.176 267.7) |
| XYZ | xyz(13.0650, 9.7312, 48.7570) |
| Luminance | 0.0973 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.57
Blue Blue
#2242C7
ΔE00 3.92
Cobalt
#0047AB
ΔE00 4.52
Blue (survey)
#0343DF
ΔE00 5.28
Warm Blue
#4B57DB
ΔE00 6.05
Ocean Blue
#4F42B5
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EBC #BC9F31
analogous
#3194BC #314EBC #5A31BC
triadic
#314EBC #BC314E #4EBC31
tetradic
#314EBC #BC3194 #BC9F31 #31BC5A
square
#314EBC #BC3194 #BC9F31 #31BC5A
split-complementary
#314EBC #BC5A31 #94BC31
monochromatic
#18265B #243A8B #314EBC #5771D3 #889AE0
Accessibility & contrast
On white
7.13
#314EBC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#314EBC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EBC
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EBC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EBC | 1.00 | 7.13 | 2.95 | 7.13 |
| #FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314ebc; /* rgb */ color: rgb(49, 78, 188); /* oklch */ color: oklch(47.1% 0.176 267.7);
Tailwind
colors: {
custom: {
50: '#7d7fd1',
500: '#314ebc',
950: '#000000',
},
}SCSS
$custom: #314ebc; $custom-light: #7d7fd1; $custom-dark: #000000;
JSON
{
"hex": "#314ebc",
"rgb": {
"r": 49,
"g": 78,
"b": 188
},
"hsl": {
"h": 227.482,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.47058,
"c": 0.17623,
"h": 267.7
},
"luminance": 0.09733
}Semantic roles & 50–950 ramp
primary
#314EBC
secondary
#CABA7F
accent
#C146E2
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82