#314EBE#314EBE
#314EBE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.2% C 0.179 H 267.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #314EBE |
|---|---|
| RGB | rgb(49, 78, 190) |
| HSL | hsl(228, 59%, 47%) |
| HSV | hsv(228, 74%, 75%) |
| CMYK | cmyk(74.2%, 58.9%, 0%, 25.5%) |
| CIE-LAB | lab(37.51, 28.80, -61.93) |
| CIE-LCH | lch(37.51, 68.30, 294.94°) |
| OKLab | oklab(47.23% -0.007 -0.1788) |
| OKLCH | oklch(47.23% 0.179 267.8) |
| XYZ | xyz(13.2820, 9.8180, 49.9003) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.68
Blue Blue
#2242C7
ΔE00 3.81
Cobalt
#0047AB
ΔE00 4.71
Blue (survey)
#0343DF
ΔE00 5.05
Warm Blue
#4B57DB
ΔE00 5.83
Ocean Blue
#4F42B5
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EBE #BEA131
analogous
#3194BE #314EBE #5B31BE
triadic
#314EBE #BE314E #4EBE31
tetradic
#314EBE #BE3194 #BEA131 #31BE5B
square
#314EBE #BE3194 #BEA131 #31BE5B
split-complementary
#314EBE #BE5B31 #94BE31
monochromatic
#18265D #243A8D #314EBE #5872D4 #899BE1
Accessibility & contrast
On white
7.09
#314EBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#314EBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #314EBE
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EBE | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#0052BC
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #314ebe; /* rgb */ color: rgb(49, 78, 190); /* oklch */ color: oklch(47.2% 0.179 267.8);
Tailwind
colors: {
custom: {
50: '#7d7fd2',
500: '#314ebe',
950: '#000000',
},
}SCSS
$custom: #314ebe; $custom-light: #7d7fd2; $custom-dark: #000000;
JSON
{
"hex": "#314ebe",
"rgb": {
"r": 49,
"g": 78,
"b": 190
},
"hsl": {
"h": 227.66,
"s": 58.996,
"l": 46.863
},
"oklch": {
"l": 0.47226,
"c": 0.17891,
"h": 267.8
},
"luminance": 0.09819
}Semantic roles & 50–950 ramp
primary
#314EBE
secondary
#CABB80
accent
#C246E2
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83