#3A5EC0#3A5EC0
#3A5EC0 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.0% C 0.159 H 265.8°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5EC0 |
|---|---|
| RGB | rgb(58, 94, 192) |
| HSL | hsl(224, 54%, 49%) |
| HSV | hsv(224, 70%, 75%) |
| CMYK | cmyk(69.8%, 51%, 0%, 24.7%) |
| CIE-LAB | lab(42.32, 20.36, -55.28) |
| CIE-LCH | lch(42.32, 58.91, 290.22°) |
| OKLab | oklab(51.01% -0.0117 -0.1588) |
| OKLCH | oklch(51.01% 0.159 265.8) |
| XYZ | xyz(15.2587, 12.7092, 51.5079) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.11
Sapphire
#0F52BA
ΔE00 4.68
French Blue
#436BAD
ΔE00 5.14
Azul
#1D5DEC
ΔE00 5.20
Royal Blue
#4169E1
ΔE00 5.71
Warm Blue
#4B57DB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5EC0 #C09C3A
analogous
#3AA1C0 #3A5EC0 #593AC0
triadic
#3A5EC0 #C03A5E #5EC03A
tetradic
#3A5EC0 #C03AA1 #C09C3A #3AC059
square
#3A5EC0 #C03AA1 #C09C3A #3AC059
split-complementary
#3A5EC0 #C0593A #A1C03A
monochromatic
#1E3062 #2C4791 #3A5EC0 #6683D1 #95A9DF
Accessibility & contrast
On white
5.93
#3A5EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#3A5EC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5EC0
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5EC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5EC0 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#226AC4
Deuteranopia (green-blind)
#005EBE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5ec0; /* rgb */ color: rgb(58, 94, 192); /* oklch */ color: oklch(51.0% 0.159 265.8);
Tailwind
colors: {
custom: {
50: '#808bd4',
500: '#3a5ec0',
950: '#000000',
},
}SCSS
$custom: #3a5ec0; $custom-light: #808bd4; $custom-dark: #000000;
JSON
{
"hex": "#3a5ec0",
"rgb": {
"r": 58,
"g": 94,
"b": 192
},
"hsl": {
"h": 223.881,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.51005,
"c": 0.15923,
"h": 265.8
},
"luminance": 0.12711
}Semantic roles & 50–950 ramp
primary
#3A5EC0
secondary
#CABA8B
accent
#B64BDD
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0B0B14
muted
#7C7C83