#3E5FCA#3E5FCA
#3E5FCA is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.1% C 0.170 H 267.3°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #3E5FCA |
|---|---|
| RGB | rgb(62, 95, 202) |
| HSL | hsl(226, 57%, 52%) |
| HSV | hsv(226, 69%, 79%) |
| CMYK | cmyk(69.3%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(43.46, 23.93, -59.21) |
| CIE-LCH | lch(43.46, 63.87, 292.01°) |
| OKLab | oklab(52.14% -0.008 -0.1703) |
| OKLCH | oklch(52.14% 0.17 267.3) |
| XYZ | xyz(16.7358, 13.4711, 57.5839) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.05
Royal Blue
#4169E1
ΔE00 4.49
Warm Blue
#4B57DB
ΔE00 4.56
Denim
#1560BD
ΔE00 5.17
French Blue
#436BAD
ΔE00 5.72
Sapphire
#0F52BA
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3E5FCA #CAA93E
analogous
#3EA5CA #3E5FCA #633ECA
triadic
#3E5FCA #CA3E5F #5FCA3E
tetradic
#3E5FCA #CA3EA5 #CAA93E #3ECA63
square
#3E5FCA #CA3EA5 #CAA93E #3ECA63
split-complementary
#3E5FCA #CA633E #A5CA3E
monochromatic
#1F326F #2C479F #3E5FCA #6E87D7 #9EAFE4
Accessibility & contrast
On white
5.68
#3E5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#3E5FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3E5FCA
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3E5FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3E5FCA | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#146DCE
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#00798B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3e5fca; /* rgb */ color: rgb(62, 95, 202); /* oklch */ color: oklch(52.1% 0.170 267.3);
Tailwind
colors: {
custom: {
50: '#848bdb',
500: '#3e5fca',
950: '#000000',
},
}SCSS
$custom: #3e5fca; $custom-light: #848bdb; $custom-dark: #000000;
JSON
{
"hex": "#3e5fca",
"rgb": {
"r": 62,
"g": 95,
"b": 202
},
"hsl": {
"h": 225.857,
"s": 56.911,
"l": 51.765
},
"oklch": {
"l": 0.52141,
"c": 0.17046,
"h": 267.3
},
"luminance": 0.13473
}Semantic roles & 50–950 ramp
primary
#3E5FCA
secondary
#D1C293
accent
#BC48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83