#3951BE#3951BE
#3951BE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.2% C 0.173 H 269.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3951BE |
|---|---|
| RGB | rgb(57, 81, 190) |
| HSL | hsl(229, 54%, 48%) |
| HSV | hsv(229, 70%, 75%) |
| CMYK | cmyk(70%, 57.4%, 0%, 25.5%) |
| CIE-LAB | lab(38.67, 27.89, -60.03) |
| CIE-LCH | lch(38.67, 66.19, 294.92°) |
| OKLab | oklab(48.2% -0.0018 -0.173) |
| OKLCH | oklch(48.2% 0.173 269.4) |
| XYZ | xyz(13.9209, 10.4710, 49.9927) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.03
Blue Blue
#2242C7
ΔE00 4.70
Warm Blue
#4B57DB
ΔE00 5.09
Cobalt
#0047AB
ΔE00 5.60
Blue (survey)
#0343DF
ΔE00 5.67
Ocean Blue
#4F42B5
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3951BE #BEA639
analogous
#3993BE #3951BE #6339BE
triadic
#3951BE #BE3951 #51BE39
tetradic
#3951BE #BE3993 #BEA639 #39BE63
square
#3951BE #BE3993 #BEA639 #39BE63
split-complementary
#3951BE #BE6339 #93BE39
monochromatic
#1D2960 #2B3D8F #3951BE #6477D0 #93A1DF
Accessibility & contrast
On white
6.79
#3951BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3951BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3951BE
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3951BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3951BE | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#006C7F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3951be; /* rgb */ color: rgb(57, 81, 190); /* oklch */ color: oklch(48.2% 0.173 269.4);
Tailwind
colors: {
custom: {
50: '#8081d2',
500: '#3951be',
950: '#000000',
},
}SCSS
$custom: #3951be; $custom-light: #8081d2; $custom-dark: #000000;
JSON
{
"hex": "#3951be",
"rgb": {
"r": 57,
"g": 81,
"b": 190
},
"hsl": {
"h": 229.173,
"s": 53.846,
"l": 48.431
},
"oklch": {
"l": 0.48198,
"c": 0.17297,
"h": 269.4
},
"luminance": 0.10472
}Semantic roles & 50–950 ramp
primary
#3951BE
secondary
#CABE89
accent
#C34BDD
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83