#3954AF#3954AF
#3954AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.148 H 267.9°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #3954AF |
|---|---|
| RGB | rgb(57, 84, 175) |
| HSL | hsl(226, 51%, 45%) |
| HSV | hsv(226, 67%, 69%) |
| CMYK | cmyk(67.4%, 52%, 0%, 31.4%) |
| CIE-LAB | lab(38.38, 20.49, -51.68) |
| CIE-LCH | lch(38.38, 55.59, 291.62°) |
| OKLab | oklab(47.63% -0.0053 -0.1484) |
| OKLCH | oklch(47.63% 0.148 267.9) |
| XYZ | xyz(12.5929, 10.3045, 41.8744) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.40
Denim Blue
#3B5B92
ΔE00 4.95
Cobalt
#0047AB
ΔE00 5.13
Dusky Blue
#475F94
ΔE00 5.60
Dusk Blue
#26538D
ΔE00 6.01
Cobalt (survey)
#1E488F
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954AF #AF9439
analogous
#398FAF #3954AF #5939AF
triadic
#3954AF #AF3954 #54AF39
tetradic
#3954AF #AF398F #AF9439 #39AF59
square
#3954AF #AF398F #AF9439 #39AF59
split-complementary
#3954AF #AF5939 #8FAF39
monochromatic
#1B2853 #2A3E81 #3954AF #5B75CA #8A9CD9
Accessibility & contrast
On white
6.86
#3954AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#3954AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954AF
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954AF | 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)
#1C60B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006979
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3954af; /* rgb */ color: rgb(57, 84, 175); /* oklch */ color: oklch(47.6% 0.148 267.9);
Tailwind
colors: {
custom: {
50: '#7d83c7',
500: '#3954af',
950: '#000000',
},
}SCSS
$custom: #3954af; $custom-light: #7d83c7; $custom-dark: #000000;
JSON
{
"hex": "#3954af",
"rgb": {
"r": 57,
"g": 84,
"b": 175
},
"hsl": {
"h": 226.271,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.47634,
"c": 0.14847,
"h": 267.9
},
"luminance": 0.10306
}Semantic roles & 50–950 ramp
primary
#3954AF
secondary
#C3B481
accent
#BA4DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82