#3A5BB7#3A5BB7
#3A5BB7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.150 H 266.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5BB7 |
|---|---|
| RGB | rgb(58, 91, 183) |
| HSL | hsl(224, 52%, 47%) |
| HSV | hsv(224, 68%, 72%) |
| CMYK | cmyk(68.3%, 50.3%, 0%, 28.2%) |
| CIE-LAB | lab(40.90, 19.01, -52.33) |
| CIE-LCH | lch(40.90, 55.68, 289.96°) |
| OKLab | oklab(49.73% -0.01 -0.1502) |
| OKLCH | oklch(49.73% 0.15 266.2) |
| XYZ | xyz(14.0303, 11.7992, 46.3286) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.87
Denim
#1560BD
ΔE00 4.44
Denim Blue
#3B5B92
ΔE00 4.92
Dusky Blue
#475F94
ΔE00 5.22
French Blue
#436BAD
ΔE00 5.75
Denim (survey)
#3B638C
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5BB7 #B7963A
analogous
#3A9AB7 #3A5BB7 #583AB7
triadic
#3A5BB7 #B73A5B #5BB73A
tetradic
#3A5BB7 #B73A9A #B7963A #3AB758
square
#3A5BB7 #B73A9A #B7963A #3AB758
split-complementary
#3A5BB7 #B7583A #9AB73A
monochromatic
#1D2D5A #2B4489 #3A5BB7 #617ECD #90A4DC
Accessibility & contrast
On white
6.25
#3A5BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#3A5BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5BB7
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5BB7 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2666BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3a5bb7; /* rgb */ color: rgb(58, 91, 183); /* oklch */ color: oklch(49.7% 0.150 266.2);
Tailwind
colors: {
custom: {
50: '#7e88cd',
500: '#3a5bb7',
950: '#000000',
},
}SCSS
$custom: #3a5bb7; $custom-light: #7e88cd; $custom-dark: #000000;
JSON
{
"hex": "#3a5bb7",
"rgb": {
"r": 58,
"g": 91,
"b": 183
},
"hsl": {
"h": 224.16,
"s": 51.867,
"l": 47.255
},
"oklch": {
"l": 0.49728,
"c": 0.15049,
"h": 266.2
},
"luminance": 0.11801
}Semantic roles & 50–950 ramp
primary
#3A5BB7
secondary
#C7B686
accent
#B64CDB
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B13
muted
#7C7C82