#3954B3#3954B3
#3954B3 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.9% C 0.154 H 268.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3954B3 |
|---|---|
| RGB | rgb(57, 84, 179) |
| HSL | hsl(227, 52%, 46%) |
| HSV | hsv(227, 68%, 70%) |
| CMYK | cmyk(68.2%, 53.1%, 0%, 29.8%) |
| CIE-LAB | lab(38.66, 21.95, -53.59) |
| CIE-LCH | lch(38.66, 57.91, 292.27°) |
| OKLab | oklab(47.93% -0.005 -0.154) |
| OKLCH | oklch(47.93% 0.154 268.1) |
| XYZ | xyz(12.9916, 10.4639, 43.9742) |
| Luminance | 0.1047 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.35
Cobalt
#0047AB
ΔE00 5.26
Denim Blue
#3B5B92
ΔE00 5.40
Dusky Blue
#475F94
ΔE00 5.98
Blue Blue
#2242C7
ΔE00 6.24
Denim
#1560BD
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954B3 #B39839
analogous
#3991B3 #3954B3 #5B39B3
triadic
#3954B3 #B33954 #54B339
tetradic
#3954B3 #B33991 #B39839 #39B35B
square
#3954B3 #B33991 #B39839 #39B35B
split-complementary
#3954B3 #B35B39 #91B339
monochromatic
#1B2856 #2A3E85 #3954B3 #5E76CC #8C9DDA
Accessibility & contrast
On white
6.79
#3954B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3954B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954B3
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954B3 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1461B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3954b3; /* rgb */ color: rgb(57, 84, 179); /* oklch */ color: oklch(47.9% 0.154 268.1);
Tailwind
colors: {
custom: {
50: '#7e83ca',
500: '#3954b3',
950: '#000000',
},
}SCSS
$custom: #3954b3; $custom-light: #7e83ca; $custom-dark: #000000;
JSON
{
"hex": "#3954b3",
"rgb": {
"r": 57,
"g": 84,
"b": 179
},
"hsl": {
"h": 226.721,
"s": 51.695,
"l": 46.275
},
"oklch": {
"l": 0.47934,
"c": 0.15407,
"h": 268.1
},
"luminance": 0.10465
}Semantic roles & 50–950 ramp
primary
#3954B3
secondary
#C5B683
accent
#BC4DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82