#3A5DAB#3A5DAB
#3A5DAB is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.3% C 0.131 H 264.0°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5DAB |
|---|---|
| RGB | rgb(58, 93, 171) |
| HSL | hsl(221, 49%, 45%) |
| HSV | hsv(221, 66%, 67%) |
| CMYK | cmyk(66.1%, 45.6%, 0%, 32.9%) |
| CIE-LAB | lab(40.68, 13.34, -45.61) |
| CIE-LCH | lch(40.68, 47.53, 286.31°) |
| OKLab | oklab(49.32% -0.0136 -0.1304) |
| OKLCH | oklch(49.32% 0.131 264) |
| XYZ | xyz(13.0074, 11.6673, 40.0867) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim Blue
#3B5B92
ΔE00 3.30
Dusky Blue
#475F94
ΔE00 3.78
Denim
#1560BD
ΔE00 3.95
Sapphire
#0F52BA
ΔE00 4.46
French Blue
#436BAD
ΔE00 4.84
Denim (survey)
#3B638C
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5DAB #AB883A
analogous
#3A96AB #3A5DAB #503AAB
triadic
#3A5DAB #AB3A5D #5DAB3A
tetradic
#3A5DAB #AB3A96 #AB883A #3AAB50
square
#3A5DAB #AB3A96 #AB883A #3AAB50
split-complementary
#3A5DAB #AB503A #96AB3A
monochromatic
#1B2B50 #2A447D #3A5DAB #5B7CC7 #89A1D7
Accessibility & contrast
On white
6.30
#3A5DAB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#3A5DAB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5DAB
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5DAB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5DAB | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3765AE
Deuteranopia (green-blind)
#235BA9
Tritanopia (blue-blind)
#006F7B
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3a5dab; /* rgb */ color: rgb(58, 93, 171); /* oklch */ color: oklch(49.3% 0.131 264.0);
Tailwind
colors: {
custom: {
50: '#7c8ac4',
500: '#3a5dab',
950: '#000000',
},
}SCSS
$custom: #3a5dab; $custom-light: #7c8ac4; $custom-dark: #000000;
JSON
{
"hex": "#3a5dab",
"rgb": {
"r": 58,
"g": 93,
"b": 171
},
"hsl": {
"h": 221.416,
"s": 49.345,
"l": 44.902
},
"oklch": {
"l": 0.49317,
"c": 0.13108,
"h": 264
},
"luminance": 0.11669
}Semantic roles & 50–950 ramp
primary
#3A5DAB
secondary
#C1AD80
accent
#AE4FD9
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0A0B13
muted
#7C7C82