#3954AE#3954AE
#3954AE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.147 H 267.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3954AE |
|---|---|
| RGB | rgb(57, 84, 174) |
| HSL | hsl(226, 51%, 45%) |
| HSV | hsv(226, 67%, 68%) |
| CMYK | cmyk(67.2%, 51.7%, 0%, 31.8%) |
| CIE-LAB | lab(38.31, 20.12, -51.20) |
| CIE-LCH | lch(38.31, 55.01, 291.46°) |
| OKLab | oklab(47.56% -0.0054 -0.1469) |
| OKLCH | oklch(47.56% 0.147 267.9) |
| XYZ | xyz(12.4950, 10.2653, 41.3591) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.43
Denim Blue
#3B5B92
ΔE00 4.84
Cobalt
#0047AB
ΔE00 5.11
Dusky Blue
#475F94
ΔE00 5.51
Dusk Blue
#26538D
ΔE00 5.90
Cobalt (survey)
#1E488F
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954AE #AE9339
analogous
#398EAE #3954AE #5939AE
triadic
#3954AE #AE3954 #54AE39
tetradic
#3954AE #AE398E #AE9339 #39AE59
square
#3954AE #AE398E #AE9339 #39AE59
split-complementary
#3954AE #AE5939 #8EAE39
monochromatic
#1B2752 #2A3E80 #3954AE #5B74C9 #899BD8
Accessibility & contrast
On white
6.88
#3954AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#3954AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954AE
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954AE | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E60B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3954ae; /* rgb */ color: rgb(57, 84, 174); /* oklch */ color: oklch(47.6% 0.147 267.9);
Tailwind
colors: {
custom: {
50: '#7d83c7',
500: '#3954ae',
950: '#000000',
},
}SCSS
$custom: #3954ae; $custom-light: #7d83c7; $custom-dark: #000000;
JSON
{
"hex": "#3954ae",
"rgb": {
"r": 57,
"g": 84,
"b": 174
},
"hsl": {
"h": 226.154,
"s": 50.649,
"l": 45.294
},
"oklch": {
"l": 0.4756,
"c": 0.14705,
"h": 267.9
},
"luminance": 0.10266
}Semantic roles & 50–950 ramp
primary
#3954AE
secondary
#C3B380
accent
#BA4EDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82