#3955AB#3955AB
#3955AB is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.142 H 267.3°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3955AB |
|---|---|
| RGB | rgb(57, 85, 171) |
| HSL | hsl(225, 50%, 45%) |
| HSV | hsv(225, 67%, 67%) |
| CMYK | cmyk(66.7%, 50.3%, 0%, 32.9%) |
| CIE-LAB | lab(38.39, 18.37, -49.31) |
| CIE-LCH | lch(38.39, 52.62, 290.44°) |
| OKLab | oklab(47.55% -0.0067 -0.1414) |
| OKLCH | oklch(47.55% 0.142 267.3) |
| XYZ | xyz(12.2840, 10.3060, 39.8621) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.51
Denim Blue
#3B5B92
ΔE00 4.27
Dusky Blue
#475F94
ΔE00 5.00
Cobalt
#0047AB
ΔE00 5.26
Dusk Blue
#26538D
ΔE00 5.46
Cobalt (survey)
#1E488F
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3955AB #AB8F39
analogous
#398EAB #3955AB #5639AB
triadic
#3955AB #AB3955 #55AB39
tetradic
#3955AB #AB398E #AB8F39 #39AB56
square
#3955AB #AB398E #AB8F39 #39AB56
split-complementary
#3955AB #AB5639 #8EAB39
monochromatic
#1A274F #2A3E7D #3955AB #5975C8 #879BD7
Accessibility & contrast
On white
6.86
#3955AB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3955AB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3955AB
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3955AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3955AB | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2560AE
Deuteranopia (green-blind)
#0155A9
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3955ab; /* rgb */ color: rgb(57, 85, 171); /* oklch */ color: oklch(47.5% 0.142 267.3);
Tailwind
colors: {
custom: {
50: '#7c84c5',
500: '#3955ab',
950: '#000000',
},
}SCSS
$custom: #3955ab; $custom-light: #7c84c5; $custom-dark: #000000;
JSON
{
"hex": "#3955ab",
"rgb": {
"r": 57,
"g": 85,
"b": 171
},
"hsl": {
"h": 225.263,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.47549,
"c": 0.14153,
"h": 267.3
},
"luminance": 0.10307
}Semantic roles & 50–950 ramp
primary
#3955AB
secondary
#C1B17F
accent
#B74EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0A0A13
muted
#7C7C82