#3951BC#3951BC
#3951BC is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.0% C 0.170 H 269.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #3951BC |
|---|---|
| RGB | rgb(57, 81, 188) |
| HSL | hsl(229, 53%, 48%) |
| HSV | hsv(229, 70%, 74%) |
| CMYK | cmyk(69.7%, 56.9%, 0%, 26.3%) |
| CIE-LAB | lab(38.52, 27.17, -59.10) |
| CIE-LCH | lch(38.52, 65.05, 294.69°) |
| OKLab | oklab(48.04% -0.0019 -0.1703) |
| OKLCH | oklch(48.04% 0.17 269.4) |
| XYZ | xyz(13.7038, 10.3842, 48.8494) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.93
Blue Blue
#2242C7
ΔE00 4.78
Warm Blue
#4B57DB
ΔE00 5.33
Cobalt
#0047AB
ΔE00 5.44
Blue (survey)
#0343DF
ΔE00 5.86
Ocean Blue
#4F42B5
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951BC #BCA439
analogous
#3992BC #3951BC #6339BC
triadic
#3951BC #BC3951 #51BC39
tetradic
#3951BC #BC3992 #BCA439 #39BC63
square
#3951BC #BC3992 #BCA439 #39BC63
split-complementary
#3951BC #BC6339 #92BC39
monochromatic
#1D295E #2B3D8D #3951BC #6377D0 #92A0DE
Accessibility & contrast
On white
6.82
#3951BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#3951BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3951BC
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951BC | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3951bc; /* rgb */ color: rgb(57, 81, 188); /* oklch */ color: oklch(48.0% 0.170 269.4);
Tailwind
colors: {
custom: {
50: '#8081d1',
500: '#3951bc',
950: '#000000',
},
}SCSS
$custom: #3951bc; $custom-light: #8081d1; $custom-dark: #000000;
JSON
{
"hex": "#3951bc",
"rgb": {
"r": 57,
"g": 81,
"b": 188
},
"hsl": {
"h": 229.008,
"s": 53.469,
"l": 48.039
},
"oklch": {
"l": 0.48037,
"c": 0.17026,
"h": 269.4
},
"luminance": 0.10386
}Semantic roles & 50–950 ramp
primary
#3951BC
secondary
#C9BD88
accent
#C24BDD
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0B0A14
muted
#7C7C82