#3A5DC8#3A5DC8
#3A5DC8 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.4% C 0.171 H 266.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5DC8 |
|---|---|
| RGB | rgb(58, 93, 200) |
| HSL | hsl(225, 56%, 51%) |
| HSV | hsv(225, 71%, 78%) |
| CMYK | cmyk(71%, 53.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.61, 23.93, -59.45) |
| CIE-LCH | lch(42.61, 64.09, 291.92°) |
| OKLab | oklab(51.4% -0.0101 -0.1711) |
| OKLCH | oklch(51.4% 0.171 266.6) |
| XYZ | xyz(16.0810, 12.8967, 56.2742) |
| Luminance | 0.1290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.23
Warm Blue
#4B57DB
ΔE00 4.67
Denim
#1560BD
ΔE00 4.87
Sapphire
#0F52BA
ΔE00 4.97
Royal Blue
#4169E1
ΔE00 5.20
French Blue
#436BAD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5DC8 #C8A53A
analogous
#3AA4C8 #3A5DC8 #5E3AC8
triadic
#3A5DC8 #C83A5D #5DC83A
tetradic
#3A5DC8 #C83AA4 #C8A53A #3AC85E
square
#3A5DC8 #C83AA4 #C8A53A #3AC85E
split-complementary
#3A5DC8 #C85E3A #A4C83A
monochromatic
#1E306A #2B469A #3A5DC8 #6A84D5 #9AACE3
Accessibility & contrast
On white
5.87
#3A5DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#3A5DC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5DC8
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5DC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5DC8 | 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)
#0B6BCC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #3a5dc8; /* rgb */ color: rgb(58, 93, 200); /* oklch */ color: oklch(51.4% 0.171 266.6);
Tailwind
colors: {
custom: {
50: '#828ad9',
500: '#3a5dc8',
950: '#000000',
},
}SCSS
$custom: #3a5dc8; $custom-light: #828ad9; $custom-dark: #000000;
JSON
{
"hex": "#3a5dc8",
"rgb": {
"r": 58,
"g": 93,
"b": 200
},
"hsl": {
"h": 225.211,
"s": 56.349,
"l": 50.588
},
"oklch": {
"l": 0.51398,
"c": 0.17139,
"h": 266.6
},
"luminance": 0.12898
}Semantic roles & 50–950 ramp
primary
#3A5DC8
secondary
#CEBF8F
accent
#BA48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83