#3E5EC1#3E5EC1
#3E5EC1 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.3% C 0.159 H 267.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3E5EC1 |
|---|---|
| RGB | rgb(62, 94, 193) |
| HSL | hsl(225, 51%, 50%) |
| HSV | hsv(225, 68%, 76%) |
| CMYK | cmyk(67.9%, 51.3%, 0%, 24.3%) |
| CIE-LAB | lab(42.58, 21.33, -55.44) |
| CIE-LCH | lch(42.58, 59.40, 291.04°) |
| OKLab | oklab(51.27% -0.008 -0.1592) |
| OKLCH | oklch(51.27% 0.159 267.1) |
| XYZ | xyz(15.6116, 12.8783, 52.1048) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.72
Sapphire
#0F52BA
ΔE00 5.04
Azul
#1D5DEC
ΔE00 5.11
Warm Blue
#4B57DB
ΔE00 5.29
French Blue
#436BAD
ΔE00 5.38
Royal Blue
#4169E1
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E5EC1 #C1A13E
analogous
#3E9FC1 #3E5EC1 #603EC1
triadic
#3E5EC1 #C13E5E #5EC13E
tetradic
#3E5EC1 #C13E9F #C1A13E #3EC160
square
#3E5EC1 #C13E9F #C1A13E #3EC160
split-complementary
#3E5EC1 #C1603E #9FC13E
monochromatic
#203164 #2F4793 #3E5EC1 #6C85D0 #9BABDF
Accessibility & contrast
On white
5.87
#3E5EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#3E5EC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E5EC1
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E5EC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E5EC1 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226BC5
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3e5ec1; /* rgb */ color: rgb(62, 94, 193); /* oklch */ color: oklch(51.3% 0.159 267.1);
Tailwind
colors: {
custom: {
50: '#828bd4',
500: '#3e5ec1',
950: '#000000',
},
}SCSS
$custom: #3e5ec1; $custom-light: #828bd4; $custom-dark: #000000;
JSON
{
"hex": "#3e5ec1",
"rgb": {
"r": 62,
"g": 94,
"b": 193
},
"hsl": {
"h": 225.344,
"s": 51.373,
"l": 50
},
"oklch": {
"l": 0.51274,
"c": 0.15937,
"h": 267.1
},
"luminance": 0.1288
}Semantic roles & 50–950 ramp
primary
#3E5EC1
secondary
#CBBC90
accent
#B84DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83