#314AE2#314AE2
#314AE2 is a mid, highly saturated blue. Relative luminance 0.110; OKLCH L 49.7% C 0.229 H 268.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #314AE2 |
|---|---|
| RGB | rgb(49, 74, 226) |
| HSL | hsl(232, 75%, 54%) |
| HSV | hsv(232, 78%, 89%) |
| CMYK | cmyk(78.3%, 67.3%, 0%, 11.4%) |
| CIE-LAB | lab(39.65, 44.26, -79.22) |
| CIE-LCH | lch(39.65, 90.74, 299.19°) |
| OKLab | oklab(49.75% -0.0058 -0.2294) |
| OKLCH | oklch(49.75% 0.229 268.5) |
| XYZ | xyz(17.4381, 11.0395, 73.1485) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue (survey)
#0343DF
ΔE00 2.70
Warm Blue
#4B57DB
ΔE00 4.12
Electric Blue
#0652FF
ΔE00 4.23
Vibrant Blue
#0339F8
ΔE00 4.40
Blue Blue
#2242C7
ΔE00 4.52
Purpleish Blue
#6140EF
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#314AE2 #E2C931
analogous
#31A3E2 #314AE2 #7131E2
triadic
#314AE2 #E2314A #4AE231
tetradic
#314AE2 #E231A3 #E2C931 #31E271
square
#314AE2 #E231A3 #E2C931 #31E271
split-complementary
#314AE2 #E27131 #A3E231
monochromatic
#132386 #1A31BB #314AE2 #6779EA #9CA8F1
Accessibility & contrast
On white
6.55
#314AE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#314AE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #314AE2
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##314AE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##314AE2 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0055DF
Tritanopia (blue-blind)
#007490
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #314ae2; /* rgb */ color: rgb(49, 74, 226); /* oklch */ color: oklch(49.7% 0.229 268.5);
Tailwind
colors: {
custom: {
50: '#867dec',
500: '#314ae2',
950: '#000000',
},
}SCSS
$custom: #314ae2; $custom-light: #867dec; $custom-dark: #000000;
JSON
{
"hex": "#314ae2",
"rgb": {
"r": 49,
"g": 74,
"b": 226
},
"hsl": {
"h": 231.525,
"s": 75.319,
"l": 53.922
},
"oklch": {
"l": 0.49748,
"c": 0.22949,
"h": 268.5
},
"luminance": 0.11042
}Semantic roles & 50–950 ramp
primary
#314AE2
secondary
#DDD292
accent
#D736F2
background
#F9F7FE
surface
#F1EEFD
border
#CBC9D5
text
#0D0916
muted
#7E7B84