#3E52BA#3E52BA
#3E52BA is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.3% C 0.165 H 270.8°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3E52BA |
|---|---|
| RGB | rgb(62, 82, 186) |
| HSL | hsl(230, 50%, 49%) |
| HSV | hsv(230, 67%, 73%) |
| CMYK | cmyk(66.7%, 55.9%, 0%, 27.1%) |
| CIE-LAB | lab(38.90, 26.55, -57.30) |
| CIE-LCH | lch(38.90, 63.15, 294.86°) |
| OKLab | oklab(48.35% 0.0022 -0.1648) |
| OKLCH | oklch(48.35% 0.165 270.8) |
| XYZ | xyz(13.8638, 10.6026, 47.7607) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.39
Warm Blue
#4B57DB
ΔE00 5.22
Blue Blue
#2242C7
ΔE00 5.23
Cobalt
#0047AB
ΔE00 5.90
Iris
#6258C4
ΔE00 6.13
Ocean Blue
#4F42B5
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E52BA #BAA63E
analogous
#3E90BA #3E52BA #683EBA
triadic
#3E52BA #BA3E52 #52BA3E
tetradic
#3E52BA #BA3E90 #BAA63E #3EBA68
square
#3E52BA #BA3E90 #BAA63E #3EBA68
split-complementary
#3E52BA #BA683E #90BA3E
monochromatic
#1F2A5E #2F3E8C #3E52BA #6879CD #96A2DC
Accessibility & contrast
On white
6.73
#3E52BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3E52BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E52BA
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E52BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E52BA | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3e52ba; /* rgb */ color: rgb(62, 82, 186); /* oklch */ color: oklch(48.3% 0.165 270.8);
Tailwind
colors: {
custom: {
50: '#8182cf',
500: '#3e52ba',
950: '#000000',
},
}SCSS
$custom: #3e52ba; $custom-light: #8182cf; $custom-dark: #000000;
JSON
{
"hex": "#3e52ba",
"rgb": {
"r": 62,
"g": 82,
"b": 186
},
"hsl": {
"h": 230.323,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.48346,
"c": 0.16484,
"h": 270.8
},
"luminance": 0.10604
}Semantic roles & 50–950 ramp
primary
#3E52BA
secondary
#C8BE8C
accent
#C34EDA
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82