#314EE2#314EE2
#314EE2 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.4% C 0.225 H 268.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #314EE2 |
|---|---|
| RGB | rgb(49, 78, 226) |
| HSL | hsl(230, 75%, 54%) |
| HSV | hsv(230, 78%, 89%) |
| CMYK | cmyk(78.3%, 65.5%, 0%, 11.4%) |
| CIE-LAB | lab(40.56, 41.82, -77.72) |
| CIE-LCH | lch(40.56, 88.26, 298.28°) |
| OKLab | oklab(50.41% -0.0077 -0.225) |
| OKLCH | oklch(50.41% 0.225 268) |
| XYZ | xyz(17.7137, 11.5907, 73.2404) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.27
Blue (survey)
#0343DF
ΔE00 3.51
Electric Blue
#0652FF
ΔE00 3.58
Azul
#1D5DEC
ΔE00 5.13
Blue Blue
#2242C7
ΔE00 5.16
Vibrant Blue
#0339F8
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314EE2 #E2C531
analogous
#31A7E2 #314EE2 #6C31E2
triadic
#314EE2 #E2314E #4EE231
tetradic
#314EE2 #E231A7 #E2C531 #31E26C
square
#314EE2 #E231A7 #E2C531 #31E26C
split-complementary
#314EE2 #E26C31 #A7E231
monochromatic
#132686 #1A35BB #314EE2 #677CEA #9CAAF1
Accessibility & contrast
On white
6.33
#314EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#314EE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #314EE2
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314EE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314EE2 | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068E7
Deuteranopia (green-blind)
#0057DF
Tritanopia (blue-blind)
#007691
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #314ee2; /* rgb */ color: rgb(49, 78, 226); /* oklch */ color: oklch(50.4% 0.225 268.0);
Tailwind
colors: {
custom: {
50: '#867fec',
500: '#314ee2',
950: '#000000',
},
}SCSS
$custom: #314ee2; $custom-light: #867fec; $custom-dark: #000000;
JSON
{
"hex": "#314ee2",
"rgb": {
"r": 49,
"g": 78,
"b": 226
},
"hsl": {
"h": 230.169,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.50412,
"c": 0.22516,
"h": 268
},
"luminance": 0.11593
}Semantic roles & 50–950 ramp
primary
#314EE2
secondary
#DDD192
accent
#D336F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84