#3945B5#3945B5
#3945B5 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.176 H 272.5°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3945B5 |
|---|---|
| RGB | rgb(57, 69, 181) |
| HSL | hsl(234, 52%, 47%) |
| HSV | hsv(234, 69%, 71%) |
| CMYK | cmyk(68.5%, 61.9%, 0%, 29%) |
| CIE-LAB | lab(34.93, 32.39, -60.84) |
| CIE-LCH | lch(34.93, 68.92, 298.03°) |
| OKLab | oklab(45.19% 0.0077 -0.1755) |
| OKLCH | oklch(45.19% 0.176 272.5) |
| XYZ | xyz(12.1532, 8.4612, 44.6998) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 2.81
Ocean Blue
#4F42B5
ΔE00 3.59
Sapphire (survey)
#2138AB
ΔE00 4.27
Blueberry
#464196
ΔE00 5.30
Blue (survey)
#0343DF
ΔE00 5.33
Cobalt
#0047AB
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3945B5 #B5A939
analogous
#3983B5 #3945B5 #6B39B5
triadic
#3945B5 #B53945 #45B539
tetradic
#3945B5 #B53983 #B5A939 #39B56B
square
#3945B5 #B53983 #B5A939 #39B56B
split-complementary
#3945B5 #B56B39 #83B539
monochromatic
#1C2258 #2A3386 #3945B5 #5F69CD #8D95DB
Accessibility & contrast
On white
7.80
#3945B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#3945B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3945B5
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3945B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3945B5 | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3945b5; /* rgb */ color: rgb(57, 69, 181); /* oklch */ color: oklch(45.2% 0.176 272.5);
Tailwind
colors: {
custom: {
50: '#7f78cc',
500: '#3945b5',
950: '#000000',
},
}SCSS
$custom: #3945b5; $custom-light: #7f78cc; $custom-dark: #000000;
JSON
{
"hex": "#3945b5",
"rgb": {
"r": 57,
"g": 69,
"b": 181
},
"hsl": {
"h": 234.194,
"s": 52.101,
"l": 46.667
},
"oklch": {
"l": 0.45191,
"c": 0.17566,
"h": 272.5
},
"luminance": 0.08462
}Semantic roles & 50–950 ramp
primary
#3945B5
secondary
#C6BF84
accent
#CE4CDC
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0913
muted
#7C7B82