#3955AC#3955AC
#3955AC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.143 H 267.4°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #3955AC |
|---|---|
| RGB | rgb(57, 85, 172) |
| HSL | hsl(225, 50%, 45%) |
| HSV | hsv(225, 67%, 67%) |
| CMYK | cmyk(66.9%, 50.6%, 0%, 32.5%) |
| CIE-LAB | lab(38.45, 18.74, -49.79) |
| CIE-LCH | lch(38.45, 53.20, 290.62°) |
| OKLab | oklab(47.62% -0.0066 -0.1428) |
| OKLCH | oklch(47.62% 0.143 267.4) |
| XYZ | xyz(12.3797, 10.3442, 40.3660) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.47
Denim Blue
#3B5B92
ΔE00 4.39
Dusky Blue
#475F94
ΔE00 5.09
Cobalt
#0047AB
ΔE00 5.27
Dusk Blue
#26538D
ΔE00 5.58
Denim
#1560BD
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3955AC #AC9039
analogous
#398FAC #3955AC #5639AC
triadic
#3955AC #AC3955 #55AC39
tetradic
#3955AC #AC398F #AC9039 #39AC56
square
#3955AC #AC398F #AC9039 #39AC56
split-complementary
#3955AC #AC5639 #8FAC39
monochromatic
#1B2850 #2A3E7E #3955AC #5A75C8 #889BD8
Accessibility & contrast
On white
6.84
#3955AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#3955AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3955AC
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3955AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3955AC | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2460AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3955ac; /* rgb */ color: rgb(57, 85, 172); /* oklch */ color: oklch(47.6% 0.143 267.4);
Tailwind
colors: {
custom: {
50: '#7c84c5',
500: '#3955ac',
950: '#000000',
},
}SCSS
$custom: #3955ac; $custom-light: #7c84c5; $custom-dark: #000000;
JSON
{
"hex": "#3955ac",
"rgb": {
"r": 57,
"g": 85,
"b": 172
},
"hsl": {
"h": 225.391,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.47621,
"c": 0.14295,
"h": 267.4
},
"luminance": 0.10345
}Semantic roles & 50–950 ramp
primary
#3955AC
secondary
#C2B17F
accent
#B84EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82