#3A5DC9#3A5DC9
#3A5DC9 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.5% C 0.173 H 266.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5DC9 |
|---|---|
| RGB | rgb(58, 93, 201) |
| HSL | hsl(225, 57%, 51%) |
| HSV | hsv(225, 71%, 79%) |
| CMYK | cmyk(71.1%, 53.7%, 0%, 21.2%) |
| CIE-LAB | lab(42.68, 24.29, -59.92) |
| CIE-LCH | lch(42.68, 64.65, 292.07°) |
| OKLab | oklab(51.47% -0.01 -0.1724) |
| OKLCH | oklch(51.47% 0.173 266.7) |
| XYZ | xyz(16.1982, 12.9436, 56.8917) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.11
Warm Blue
#4B57DB
ΔE00 4.56
Denim
#1560BD
ΔE00 4.95
Sapphire
#0F52BA
ΔE00 5.04
Royal Blue
#4169E1
ΔE00 5.12
French Blue
#436BAD
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5DC9 #C9A63A
analogous
#3AA4C9 #3A5DC9 #5E3AC9
triadic
#3A5DC9 #C93A5D #5DC93A
tetradic
#3A5DC9 #C93AA4 #C9A63A #3AC95E
square
#3A5DC9 #C93AA4 #C9A63A #3AC95E
split-complementary
#3A5DC9 #C95E3A #A4C93A
monochromatic
#1D306B #2B469B #3A5DC9 #6A84D6 #9AACE3
Accessibility & contrast
On white
5.85
#3A5DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#3A5DC9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5DC9
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5DC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5DC9 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#076CCD
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3a5dc9; /* rgb */ color: rgb(58, 93, 201); /* oklch */ color: oklch(51.5% 0.173 266.7);
Tailwind
colors: {
custom: {
50: '#828ada',
500: '#3a5dc9',
950: '#000000',
},
}SCSS
$custom: #3a5dc9; $custom-light: #828ada; $custom-dark: #000000;
JSON
{
"hex": "#3a5dc9",
"rgb": {
"r": 58,
"g": 93,
"b": 201
},
"hsl": {
"h": 225.315,
"s": 56.972,
"l": 50.784
},
"oklch": {
"l": 0.51474,
"c": 0.17274,
"h": 266.7
},
"luminance": 0.12945
}Semantic roles & 50–950 ramp
primary
#3A5DC9
secondary
#CFC090
accent
#BB48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83