#3A5BB5#3A5BB5
#3A5BB5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 49.6% C 0.148 H 266.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5BB5 |
|---|---|
| RGB | rgb(58, 91, 181) |
| HSL | hsl(224, 51%, 47%) |
| HSV | hsv(224, 68%, 71%) |
| CMYK | cmyk(68%, 49.7%, 0%, 29%) |
| CIE-LAB | lab(40.76, 18.28, -51.37) |
| CIE-LCH | lch(40.76, 54.53, 289.59°) |
| OKLab | oklab(49.58% -0.0102 -0.1473) |
| OKLCH | oklch(49.58% 0.148 266) |
| XYZ | xyz(13.8236, 11.7166, 45.2401) |
| Luminance | 0.1172 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.86
Denim
#1560BD
ΔE00 4.41
Denim Blue
#3B5B92
ΔE00 4.66
Dusky Blue
#475F94
ΔE00 4.99
French Blue
#436BAD
ΔE00 5.69
Denim (survey)
#3B638C
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5BB5 #B5943A
analogous
#3A99B5 #3A5BB5 #563AB5
triadic
#3A5BB5 #B53A5B #5BB53A
tetradic
#3A5BB5 #B53A99 #B5943A #3AB556
square
#3A5BB5 #B53A99 #B5943A #3AB556
split-complementary
#3A5BB5 #B5563A #99B53A
monochromatic
#1C2C58 #2B4487 #3A5BB5 #607DCC #8EA3DB
Accessibility & contrast
On white
6.28
#3A5BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#3A5BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5BB5
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5BB5 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2966B8
Deuteranopia (green-blind)
#015BB3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3a5bb5; /* rgb */ color: rgb(58, 91, 181); /* oklch */ color: oklch(49.6% 0.148 266.0);
Tailwind
colors: {
custom: {
50: '#7e88cc',
500: '#3a5bb5',
950: '#000000',
},
}SCSS
$custom: #3a5bb5; $custom-light: #7e88cc; $custom-dark: #000000;
JSON
{
"hex": "#3a5bb5",
"rgb": {
"r": 58,
"g": 91,
"b": 181
},
"hsl": {
"h": 223.902,
"s": 51.464,
"l": 46.863
},
"oklch": {
"l": 0.49584,
"c": 0.1477,
"h": 266
},
"luminance": 0.11718
}Semantic roles & 50–950 ramp
primary
#3A5BB5
secondary
#C6B485
accent
#B54DDB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82