#3A5FD0#3A5FD0
#3A5FD0 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.180 H 266.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5FD0 |
|---|---|
| RGB | rgb(58, 95, 208) |
| HSL | hsl(225, 61%, 52%) |
| HSV | hsv(225, 72%, 82%) |
| CMYK | cmyk(72.1%, 54.3%, 0%, 18.4%) |
| CIE-LAB | lab(43.71, 25.56, -62.28) |
| CIE-LCH | lch(43.71, 67.32, 292.31°) |
| OKLab | oklab(52.41% -0.0111 -0.1794) |
| OKLCH | oklch(52.41% 0.18 266.5) |
| XYZ | xyz(17.2183, 13.6362, 61.3869) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.28
Royal Blue
#4169E1
ΔE00 4.07
Warm Blue
#4B57DB
ΔE00 4.39
Denim
#1560BD
ΔE00 5.24
Bright Blue
#0165FC
ΔE00 5.52
Sapphire
#0F52BA
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5FD0 #D0AB3A
analogous
#3AAAD0 #3A5FD0 #603AD0
triadic
#3A5FD0 #D03A5F #5FD03A
tetradic
#3A5FD0 #D03AAA #D0AB3A #3AD060
square
#3A5FD0 #D03AAA #D0AB3A #3AD060
split-complementary
#3A5FD0 #D0603A #AAD03A
monochromatic
#1C3174 #2747A5 #3A5FD0 #6B87DC #9DAFE8
Accessibility & contrast
On white
5.63
#3A5FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#3A5FD0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5FD0
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5FD0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5FD0 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED4
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#007A8E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #3a5fd0; /* rgb */ color: rgb(58, 95, 208); /* oklch */ color: oklch(52.4% 0.180 266.5);
Tailwind
colors: {
custom: {
50: '#838bdf',
500: '#3a5fd0',
950: '#000000',
},
}SCSS
$custom: #3a5fd0; $custom-light: #838bdf; $custom-dark: #000000;
JSON
{
"hex": "#3a5fd0",
"rgb": {
"r": 58,
"g": 95,
"b": 208
},
"hsl": {
"h": 225.2,
"s": 61.475,
"l": 52.157
},
"oklch": {
"l": 0.52408,
"c": 0.17971,
"h": 266.5
},
"luminance": 0.13638
}Semantic roles & 50–950 ramp
primary
#3A5FD0
secondary
#D4C392
accent
#BD43E5
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0C15
muted
#7D7D83