#3951CA#3951CA
#3951CA is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.2% C 0.189 H 269.5°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #3951CA |
|---|---|
| RGB | rgb(57, 81, 202) |
| HSL | hsl(230, 58%, 51%) |
| HSV | hsv(230, 72%, 79%) |
| CMYK | cmyk(71.8%, 59.9%, 0%, 20.8%) |
| CIE-LAB | lab(39.61, 32.22, -65.49) |
| CIE-LCH | lch(39.61, 72.98, 296.19°) |
| OKLab | oklab(49.19% -0.0017 -0.189) |
| OKLCH | oklch(49.19% 0.189 269.5) |
| XYZ | xyz(15.2868, 11.0174, 57.1866) |
| Luminance | 0.1102 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.74
Blue Blue
#2242C7
ΔE00 4.56
Blue (survey)
#0343DF
ΔE00 4.72
Sapphire
#0F52BA
ΔE00 4.92
Azul
#1D5DEC
ΔE00 5.82
Iris
#6258C4
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951CA #CAB239
analogous
#3999CA #3951CA #6939CA
triadic
#3951CA #CA3951 #51CA39
tetradic
#3951CA #CA3999 #CAB239 #39CA69
square
#3951CA #CA3999 #CAB239 #39CA69
split-complementary
#3951CA #CA6939 #99CA39
monochromatic
#1D2A6C #2A3D9C #3951CA #697BD7 #9AA6E4
Accessibility & contrast
On white
6.55
#3951CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#3951CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3951CA
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951CA | 1.00 | 6.55 | 3.20 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3951ca; /* rgb */ color: rgb(57, 81, 202); /* oklch */ color: oklch(49.2% 0.189 269.5);
Tailwind
colors: {
custom: {
50: '#8381db',
500: '#3951ca',
950: '#000000',
},
}SCSS
$custom: #3951ca; $custom-light: #8381db; $custom-dark: #000000;
JSON
{
"hex": "#3951ca",
"rgb": {
"r": 57,
"g": 81,
"b": 202
},
"hsl": {
"h": 230.069,
"s": 57.769,
"l": 50.784
},
"oklch": {
"l": 0.49187,
"c": 0.18901,
"h": 269.5
},
"luminance": 0.11019
}Semantic roles & 50–950 ramp
primary
#3951CA
secondary
#D0C58F
accent
#C747E1
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83