#3A5ABD#3A5ABD
#3A5ABD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.160 H 267.0°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5ABD |
|---|---|
| RGB | rgb(58, 90, 189) |
| HSL | hsl(225, 53%, 48%) |
| HSV | hsv(225, 69%, 74%) |
| CMYK | cmyk(69.3%, 52.4%, 0%, 25.9%) |
| CIE-LAB | lab(41.03, 21.85, -55.62) |
| CIE-LCH | lch(41.03, 59.76, 291.45°) |
| OKLab | oklab(49.96% -0.0085 -0.1598) |
| OKLCH | oklch(49.96% 0.16 267) |
| XYZ | xyz(14.5832, 11.8845, 49.6596) |
| Luminance | 0.1189 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.89
Denim
#1560BD
ΔE00 4.90
Warm Blue
#4B57DB
ΔE00 5.46
Azul
#1D5DEC
ΔE00 5.73
Denim Blue
#3B5B92
ΔE00 5.76
Dusky Blue
#475F94
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5ABD #BD9D3A
analogous
#3A9BBD #3A5ABD #5C3ABD
triadic
#3A5ABD #BD3A5A #5ABD3A
tetradic
#3A5ABD #BD3A9B #BD9D3A #3ABD5C
square
#3A5ABD #BD3A9B #BD9D3A #3ABD5C
split-complementary
#3A5ABD #BD5C3A #9BBD3A
monochromatic
#1D2D5F #2C448E #3A5ABD #657FD0 #93A6DE
Accessibility & contrast
On white
6.22
#3A5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#3A5ABD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5ABD
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5ABD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5ABD | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1967C1
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #3a5abd; /* rgb */ color: rgb(58, 90, 189); /* oklch */ color: oklch(50.0% 0.160 267.0);
Tailwind
colors: {
custom: {
50: '#8088d2',
500: '#3a5abd',
950: '#000000',
},
}SCSS
$custom: #3a5abd; $custom-light: #8088d2; $custom-dark: #000000;
JSON
{
"hex": "#3a5abd",
"rgb": {
"r": 58,
"g": 90,
"b": 189
},
"hsl": {
"h": 225.344,
"s": 53.036,
"l": 48.431
},
"oklch": {
"l": 0.49962,
"c": 0.16007,
"h": 267
},
"luminance": 0.11886
}Semantic roles & 50–950 ramp
primary
#3A5ABD
secondary
#C9BA8A
accent
#B94BDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0B14
muted
#7C7C82