#3A5EC9#3A5EC9
#3A5EC9 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 51.7% C 0.172 H 266.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5EC9 |
|---|---|
| RGB | rgb(58, 94, 201) |
| HSL | hsl(225, 57%, 51%) |
| HSV | hsv(225, 71%, 79%) |
| CMYK | cmyk(71.1%, 53.2%, 0%, 21.2%) |
| CIE-LAB | lab(42.94, 23.65, -59.49) |
| CIE-LCH | lch(42.94, 64.01, 291.68°) |
| OKLab | oklab(51.68% -0.0108 -0.1712) |
| OKLCH | oklch(51.68% 0.172 266.4) |
| XYZ | xyz(16.2866, 13.1203, 56.9212) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.09
Denim
#1560BD
ΔE00 4.76
Warm Blue
#4B57DB
ΔE00 4.79
Royal Blue
#4169E1
ΔE00 4.88
Sapphire
#0F52BA
ΔE00 5.20
French Blue
#436BAD
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5EC9 #C9A53A
analogous
#3AA5C9 #3A5EC9 #5D3AC9
triadic
#3A5EC9 #C93A5E #5EC93A
tetradic
#3A5EC9 #C93AA5 #C9A53A #3AC95D
square
#3A5EC9 #C93AA5 #C9A53A #3AC95D
split-complementary
#3A5EC9 #C95D3A #A5C93A
monochromatic
#1D316B #2B479B #3A5EC9 #6A85D6 #9AADE3
Accessibility & contrast
On white
5.79
#3A5EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#3A5EC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5EC9
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5EC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5EC9 | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F6CCD
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3a5ec9; /* rgb */ color: rgb(58, 94, 201); /* oklch */ color: oklch(51.7% 0.172 266.4);
Tailwind
colors: {
custom: {
50: '#828bda',
500: '#3a5ec9',
950: '#000000',
},
}SCSS
$custom: #3a5ec9; $custom-light: #828bda; $custom-dark: #000000;
JSON
{
"hex": "#3a5ec9",
"rgb": {
"r": 58,
"g": 94,
"b": 201
},
"hsl": {
"h": 224.895,
"s": 56.972,
"l": 50.784
},
"oklch": {
"l": 0.51675,
"c": 0.17151,
"h": 266.4
},
"luminance": 0.13122
}Semantic roles & 50–950 ramp
primary
#3A5EC9
secondary
#CFBF90
accent
#BA48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83