#3A5FBB#3A5FBB
#3A5FBB is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.151 H 265.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5FBB |
|---|---|
| RGB | rgb(58, 95, 187) |
| HSL | hsl(223, 53%, 48%) |
| HSV | hsv(223, 69%, 73%) |
| CMYK | cmyk(69%, 49.2%, 0%, 26.7%) |
| CIE-LAB | lab(42.26, 17.89, -52.47) |
| CIE-LCH | lch(42.26, 55.43, 288.82°) |
| OKLab | oklab(50.85% -0.0132 -0.1505) |
| OKLCH | oklch(50.85% 0.151 265) |
| XYZ | xyz(14.8036, 12.6703, 48.6695) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.66
French Blue
#436BAD
ΔE00 4.54
Sapphire
#0F52BA
ΔE00 4.74
Denim Blue
#3B5B92
ΔE00 5.37
Dusky Blue
#475F94
ΔE00 5.47
Azul
#1D5DEC
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5FBB #BB963A
analogous
#3A9FBB #3A5FBB #563ABB
triadic
#3A5FBB #BB3A5F #5FBB3A
tetradic
#3A5FBB #BB3A9F #BB963A #3ABB56
square
#3A5FBB #BB3A9F #BB963A #3ABB56
split-complementary
#3A5FBB #BB563A #9FBB3A
monochromatic
#1D305E #2C478C #3A5FBB #6382CF #92A8DD
Accessibility & contrast
On white
5.94
#3A5FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#3A5FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5FBB
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5FBB | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C6ABE
Deuteranopia (green-blind)
#025EB9
Tritanopia (blue-blind)
#007584
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5fbb; /* rgb */ color: rgb(58, 95, 187); /* oklch */ color: oklch(50.9% 0.151 265.0);
Tailwind
colors: {
custom: {
50: '#7f8bd0',
500: '#3a5fbb',
950: '#000000',
},
}SCSS
$custom: #3a5fbb; $custom-light: #7f8bd0; $custom-dark: #000000;
JSON
{
"hex": "#3a5fbb",
"rgb": {
"r": 58,
"g": 95,
"b": 187
},
"hsl": {
"h": 222.791,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.50854,
"c": 0.15107,
"h": 265
},
"luminance": 0.12672
}Semantic roles & 50–950 ramp
primary
#3A5FBB
secondary
#C8B688
accent
#B34CDC
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0C14
muted
#7C7D82