#3954AC#3954AC
#3954AC is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.4% C 0.144 H 267.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3954AC |
|---|---|
| RGB | rgb(57, 84, 172) |
| HSL | hsl(226, 50%, 45%) |
| HSV | hsv(226, 67%, 67%) |
| CMYK | cmyk(66.9%, 51.2%, 0%, 32.5%) |
| CIE-LAB | lab(38.18, 19.39, -50.23) |
| CIE-LCH | lch(38.18, 53.85, 291.11°) |
| OKLab | oklab(47.41% -0.0056 -0.1441) |
| OKLCH | oklch(47.41% 0.144 267.8) |
| XYZ | xyz(12.3015, 10.1879, 40.3399) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.50
Denim Blue
#3B5B92
ΔE00 4.62
Cobalt
#0047AB
ΔE00 5.08
Dusky Blue
#475F94
ΔE00 5.33
Dusk Blue
#26538D
ΔE00 5.68
Cobalt (survey)
#1E488F
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954AC #AC9139
analogous
#398EAC #3954AC #5839AC
triadic
#3954AC #AC3954 #54AC39
tetradic
#3954AC #AC398E #AC9139 #39AC58
square
#3954AC #AC398E #AC9139 #39AC58
split-complementary
#3954AC #AC5839 #8EAC39
monochromatic
#1B2750 #2A3E7E #3954AC #5A74C8 #889BD8
Accessibility & contrast
On white
6.91
#3954AC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3954AC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954AC
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954AC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954AC | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#215FAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3954ac; /* rgb */ color: rgb(57, 84, 172); /* oklch */ color: oklch(47.4% 0.144 267.8);
Tailwind
colors: {
custom: {
50: '#7c83c5',
500: '#3954ac',
950: '#000000',
},
}SCSS
$custom: #3954ac; $custom-light: #7c83c5; $custom-dark: #000000;
JSON
{
"hex": "#3954ac",
"rgb": {
"r": 57,
"g": 84,
"b": 172
},
"hsl": {
"h": 225.913,
"s": 50.218,
"l": 44.902
},
"oklch": {
"l": 0.47412,
"c": 0.14423,
"h": 267.8
},
"luminance": 0.10189
}Semantic roles & 50–950 ramp
primary
#3954AC
secondary
#C2B27F
accent
#B94EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82