#3951CB#3951CB
#3951CB is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.190 H 269.5°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3951CB |
|---|---|
| RGB | rgb(57, 81, 203) |
| HSL | hsl(230, 58%, 51%) |
| HSV | hsv(230, 72%, 80%) |
| CMYK | cmyk(71.9%, 60.1%, 0%, 20.4%) |
| CIE-LAB | lab(39.69, 32.57, -65.93) |
| CIE-LCH | lch(39.69, 73.54, 296.29°) |
| OKLab | oklab(49.27% -0.0017 -0.1903) |
| OKLCH | oklch(49.27% 0.19 269.5) |
| XYZ | xyz(15.4056, 11.0649, 57.8122) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.64
Blue Blue
#2242C7
ΔE00 4.58
Blue (survey)
#0343DF
ΔE00 4.67
Sapphire
#0F52BA
ΔE00 5.01
Azul
#1D5DEC
ΔE00 5.74
Electric Blue
#0652FF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951CB #CBB339
analogous
#399ACB #3951CB #6A39CB
triadic
#3951CB #CB3951 #51CB39
tetradic
#3951CB #CB399A #CBB339 #39CB6A
square
#3951CB #CB399A #CBB339 #39CB6A
split-complementary
#3951CB #CB6A39 #9ACB39
monochromatic
#1D2A6D #293C9D #3951CB #697CD8 #9AA6E4
Accessibility & contrast
On white
6.54
#3951CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#3951CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3951CB
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951CB | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CF
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#007086
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3951cb; /* rgb */ color: rgb(57, 81, 203); /* oklch */ color: oklch(49.3% 0.190 269.5);
Tailwind
colors: {
custom: {
50: '#8381dc',
500: '#3951cb',
950: '#000000',
},
}SCSS
$custom: #3951cb; $custom-light: #8381dc; $custom-dark: #000000;
JSON
{
"hex": "#3951cb",
"rgb": {
"r": 57,
"g": 81,
"b": 203
},
"hsl": {
"h": 230.137,
"s": 58.4,
"l": 50.98
},
"oklch": {
"l": 0.49271,
"c": 0.19033,
"h": 269.5
},
"luminance": 0.11067
}Semantic roles & 50–950 ramp
primary
#3951CB
secondary
#D0C690
accent
#C846E2
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83