#3954B5#3954B5
#3954B5 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.1% C 0.157 H 268.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3954B5 |
|---|---|
| RGB | rgb(57, 84, 181) |
| HSL | hsl(227, 52%, 47%) |
| HSV | hsv(227, 69%, 71%) |
| CMYK | cmyk(68.5%, 53.6%, 0%, 29%) |
| CIE-LAB | lab(38.80, 22.67, -54.54) |
| CIE-LCH | lch(38.80, 59.06, 292.58°) |
| OKLab | oklab(48.09% -0.0048 -0.1568) |
| OKLCH | oklch(48.09% 0.157 268.2) |
| XYZ | xyz(13.1953, 10.5454, 45.0472) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.36
Cobalt
#0047AB
ΔE00 5.35
Denim Blue
#3B5B92
ΔE00 5.62
Blue Blue
#2242C7
ΔE00 6.10
Warm Blue
#4B57DB
ΔE00 6.16
Dusky Blue
#475F94
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954B5 #B59A39
analogous
#3992B5 #3954B5 #5C39B5
triadic
#3954B5 #B53954 #54B539
tetradic
#3954B5 #B53992 #B59A39 #39B55C
square
#3954B5 #B53992 #B59A39 #39B55C
split-complementary
#3954B5 #B55C39 #92B539
monochromatic
#1C2958 #2A3E86 #3954B5 #5F77CD #8D9EDB
Accessibility & contrast
On white
6.75
#3954B5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#3954B5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954B5
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954B5 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F61B8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#006B7C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3954b5; /* rgb */ color: rgb(57, 84, 181); /* oklch */ color: oklch(48.1% 0.157 268.2);
Tailwind
colors: {
custom: {
50: '#7e83cc',
500: '#3954b5',
950: '#000000',
},
}SCSS
$custom: #3954b5; $custom-light: #7e83cc; $custom-dark: #000000;
JSON
{
"hex": "#3954b5",
"rgb": {
"r": 57,
"g": 84,
"b": 181
},
"hsl": {
"h": 226.935,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.48086,
"c": 0.15685,
"h": 268.2
},
"luminance": 0.10547
}Semantic roles & 50–950 ramp
primary
#3954B5
secondary
#C6B784
accent
#BC4CDC
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0A13
muted
#7C7C82