#3E52B2#3E52B2
#3E52B2 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.7% C 0.154 H 270.7°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3E52B2 |
|---|---|
| RGB | rgb(62, 82, 178) |
| HSL | hsl(230, 48%, 47%) |
| HSV | hsv(230, 65%, 70%) |
| CMYK | cmyk(65.2%, 53.9%, 0%, 30.2%) |
| CIE-LAB | lab(38.33, 23.70, -53.53) |
| CIE-LCH | lch(38.33, 58.54, 293.88°) |
| OKLab | oklab(47.73% 0.0018 -0.1537) |
| OKLCH | oklch(47.73% 0.154 270.7) |
| XYZ | xyz(13.0371, 10.2719, 43.4065) |
| Luminance | 0.1027 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.28
Cobalt
#0047AB
ΔE00 5.48
Blue Blue
#2242C7
ΔE00 5.75
Denim Blue
#3B5B92
ΔE00 6.08
Warm Blue
#4B57DB
ΔE00 6.27
Dusky Blue
#475F94
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E52B2 #B29E3E
analogous
#3E8CB2 #3E52B2 #643EB2
triadic
#3E52B2 #B23E52 #52B23E
tetradic
#3E52B2 #B23E8C #B29E3E #3EB264
square
#3E52B2 #B23E8C #B29E3E #3EB264
split-complementary
#3E52B2 #B2643E #8CB23E
monochromatic
#1E2857 #2E3D85 #3E52B2 #6476C9 #929ED9
Accessibility & contrast
On white
6.87
#3E52B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#3E52B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E52B2
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E52B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E52B2 | 1.00 | 6.87 | 3.05 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F60B5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3e52b2; /* rgb */ color: rgb(62, 82, 178); /* oklch */ color: oklch(47.7% 0.154 270.7);
Tailwind
colors: {
custom: {
50: '#8082ca',
500: '#3e52b2',
950: '#000000',
},
}SCSS
$custom: #3e52b2; $custom-light: #8082ca; $custom-dark: #000000;
JSON
{
"hex": "#3e52b2",
"rgb": {
"r": 62,
"g": 82,
"b": 178
},
"hsl": {
"h": 229.655,
"s": 48.333,
"l": 47.059
},
"oklch": {
"l": 0.4773,
"c": 0.15374,
"h": 270.7
},
"luminance": 0.10273
}Semantic roles & 50–950 ramp
primary
#3E52B2
secondary
#C4BA88
accent
#C050D8
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82