#3950E2#3950E2
#3950E2 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.1% C 0.221 H 269.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #3950E2 |
|---|---|
| RGB | rgb(57, 80, 226) |
| HSL | hsl(232, 74%, 55%) |
| HSV | hsv(232, 75%, 89%) |
| CMYK | cmyk(74.8%, 64.6%, 0%, 11.4%) |
| CIE-LAB | lab(41.37, 41.33, -76.38) |
| CIE-LCH | lch(41.37, 86.84, 298.42°) |
| OKLab | oklab(51.1% -0.0018 -0.2209) |
| OKLCH | oklch(51.1% 0.221 269.5) |
| XYZ | xyz(18.2788, 12.0962, 73.3082) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.52
Electric Blue
#0652FF
ΔE00 3.45
Blue (survey)
#0343DF
ΔE00 4.29
Azul
#1D5DEC
ΔE00 4.83
Blue Blue
#2242C7
ΔE00 5.79
Vibrant Blue
#0339F8
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3950E2 #E2CB39
analogous
#39A5E2 #3950E2 #7639E2
triadic
#3950E2 #E23950 #50E239
tetradic
#3950E2 #E239A5 #E2CB39 #39E276
square
#3950E2 #E239A5 #E2CB39 #39E276
split-complementary
#3950E2 #E27639 #A5E239
monochromatic
#15258C #1C33C1 #3950E2 #6E7FEA #A4AEF2
Accessibility & contrast
On white
6.14
#3950E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#3950E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3950E2
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3950E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3950E2 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AE7
Deuteranopia (green-blind)
#005ADF
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #3950e2; /* rgb */ color: rgb(57, 80, 226); /* oklch */ color: oklch(51.1% 0.221 269.5);
Tailwind
colors: {
custom: {
50: '#8881ec',
500: '#3950e2',
950: '#000000',
},
}SCSS
$custom: #3950e2; $custom-light: #8881ec; $custom-dark: #000000;
JSON
{
"hex": "#3950e2",
"rgb": {
"r": 57,
"g": 80,
"b": 226
},
"hsl": {
"h": 231.834,
"s": 74.449,
"l": 55.49
},
"oklch": {
"l": 0.51101,
"c": 0.22095,
"h": 269.5
},
"luminance": 0.12098
}Semantic roles & 50–950 ramp
primary
#3950E2
secondary
#DFD598
accent
#D837F1
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0D0A16
muted
#7E7C84