#3954B2#3954B2
#3954B2 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.9% C 0.153 H 268.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #3954B2 |
|---|---|
| RGB | rgb(57, 84, 178) |
| HSL | hsl(227, 51%, 46%) |
| HSV | hsv(227, 68%, 70%) |
| CMYK | cmyk(68%, 52.8%, 0%, 30.2%) |
| CIE-LAB | lab(38.59, 21.58, -53.11) |
| CIE-LCH | lch(38.59, 57.33, 292.11°) |
| OKLab | oklab(47.86% -0.0051 -0.1526) |
| OKLCH | oklch(47.86% 0.153 268.1) |
| XYZ | xyz(12.8908, 10.4236, 43.4435) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.36
Cobalt
#0047AB
ΔE00 5.23
Denim Blue
#3B5B92
ΔE00 5.28
Dusky Blue
#475F94
ΔE00 5.88
Denim
#1560BD
ΔE00 6.31
Blue Blue
#2242C7
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3954B2 #B29739
analogous
#3990B2 #3954B2 #5B39B2
triadic
#3954B2 #B23954 #54B239
tetradic
#3954B2 #B23990 #B29739 #39B25B
square
#3954B2 #B23990 #B29739 #39B25B
split-complementary
#3954B2 #B25B39 #90B239
monochromatic
#1B2855 #2A3E84 #3954B2 #5D76CB #8B9DDA
Accessibility & contrast
On white
6.81
#3954B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#3954B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3954B2
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3954B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3954B2 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1761B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #3954b2; /* rgb */ color: rgb(57, 84, 178); /* oklch */ color: oklch(47.9% 0.153 268.1);
Tailwind
colors: {
custom: {
50: '#7d83ca',
500: '#3954b2',
950: '#000000',
},
}SCSS
$custom: #3954b2; $custom-light: #7d83ca; $custom-dark: #000000;
JSON
{
"hex": "#3954b2",
"rgb": {
"r": 57,
"g": 84,
"b": 178
},
"hsl": {
"h": 226.612,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.47858,
"c": 0.15267,
"h": 268.1
},
"luminance": 0.10425
}Semantic roles & 50–950 ramp
primary
#3954B2
secondary
#C4B682
accent
#BB4DDB
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82