#3955B4#3955B4
#3955B4 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.2% C 0.154 H 267.8°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3955B4 |
|---|---|
| RGB | rgb(57, 85, 180) |
| HSL | hsl(226, 52%, 46%) |
| HSV | hsv(226, 68%, 71%) |
| CMYK | cmyk(68.3%, 52.8%, 0%, 29.4%) |
| CIE-LAB | lab(39.00, 21.66, -53.63) |
| CIE-LCH | lch(39.00, 57.84, 291.99°) |
| OKLab | oklab(48.21% -0.0058 -0.1541) |
| OKLCH | oklch(48.21% 0.154 267.8) |
| XYZ | xyz(13.1712, 10.6609, 44.5348) |
| Luminance | 0.1066 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.31
Denim Blue
#3B5B92
ΔE00 5.31
Cobalt
#0047AB
ΔE00 5.48
Dusky Blue
#475F94
ΔE00 5.86
Denim
#1560BD
ΔE00 6.01
Warm Blue
#4B57DB
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3955B4 #B49839
analogous
#3993B4 #3955B4 #5A39B4
triadic
#3955B4 #B43955 #55B439
tetradic
#3955B4 #B43993 #B49839 #39B45A
square
#3955B4 #B43993 #B49839 #39B45A
split-complementary
#3955B4 #B45A39 #93B439
monochromatic
#1C2957 #2A3F86 #3955B4 #5E77CC #8D9EDB
Accessibility & contrast
On white
6.70
#3955B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#3955B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3955B4
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3955B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3955B4 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1762B7
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#006C7C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3955b4; /* rgb */ color: rgb(57, 85, 180); /* oklch */ color: oklch(48.2% 0.154 267.8);
Tailwind
colors: {
custom: {
50: '#7e84cb',
500: '#3955b4',
950: '#000000',
},
}SCSS
$custom: #3955b4; $custom-light: #7e84cb; $custom-dark: #000000;
JSON
{
"hex": "#3955b4",
"rgb": {
"r": 57,
"g": 85,
"b": 180
},
"hsl": {
"h": 226.341,
"s": 51.899,
"l": 46.471
},
"oklch": {
"l": 0.48214,
"c": 0.1542,
"h": 267.8
},
"luminance": 0.10662
}Semantic roles & 50–950 ramp
primary
#3955B4
secondary
#C5B683
accent
#BB4CDB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82