#314FE2#314FE2
#314FE2 is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.6% C 0.224 H 267.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #314FE2 |
|---|---|
| RGB | rgb(49, 79, 226) |
| HSL | hsl(230, 75%, 54%) |
| HSV | hsv(230, 78%, 89%) |
| CMYK | cmyk(78.3%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(40.79, 41.20, -77.34) |
| CIE-LCH | lch(40.79, 87.63, 298.04°) |
| OKLab | oklab(50.58% -0.0082 -0.2239) |
| OKLCH | oklch(50.58% 0.224 267.9) |
| XYZ | xyz(17.7853, 11.7339, 73.2643) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.09
Electric Blue
#0652FF
ΔE00 3.45
Blue (survey)
#0343DF
ΔE00 3.75
Azul
#1D5DEC
ΔE00 4.85
Blue Blue
#2242C7
ΔE00 5.35
Vibrant Blue
#0339F8
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314FE2 #E2C431
analogous
#31A7E2 #314FE2 #6C31E2
triadic
#314FE2 #E2314F #4FE231
tetradic
#314FE2 #E231A7 #E2C431 #31E26C
square
#314FE2 #E231A7 #E2C431 #31E26C
split-complementary
#314FE2 #E26C31 #A7E231
monochromatic
#132686 #1A36BB #314FE2 #677DEA #9CABF1
Accessibility & contrast
On white
6.27
#314FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#314FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #314FE2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314FE2 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#007692
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #314fe2; /* rgb */ color: rgb(49, 79, 226); /* oklch */ color: oklch(50.6% 0.224 267.9);
Tailwind
colors: {
custom: {
50: '#8580ec',
500: '#314fe2',
950: '#000000',
},
}SCSS
$custom: #314fe2; $custom-light: #8580ec; $custom-dark: #000000;
JSON
{
"hex": "#314fe2",
"rgb": {
"r": 49,
"g": 79,
"b": 226
},
"hsl": {
"h": 229.831,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.50582,
"c": 0.22406,
"h": 267.9
},
"luminance": 0.11736
}Semantic roles & 50–950 ramp
primary
#314FE2
secondary
#DDD092
accent
#D236F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0A16
muted
#7E7C84