#3A5FB4#3A5FB4
#3A5FB4 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.4% C 0.141 H 264.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5FB4 |
|---|---|
| RGB | rgb(58, 95, 180) |
| HSL | hsl(222, 51%, 47%) |
| HSV | hsv(222, 68%, 71%) |
| CMYK | cmyk(67.8%, 47.2%, 0%, 29.4%) |
| CIE-LAB | lab(41.81, 15.33, -49.10) |
| CIE-LCH | lch(41.81, 51.44, 287.34°) |
| OKLab | oklab(50.36% -0.0141 -0.1406) |
| OKLCH | oklch(50.36% 0.141 264.3) |
| XYZ | xyz(14.0725, 12.3779, 44.8187) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.47
French Blue
#436BAD
ΔE00 4.26
Denim Blue
#3B5B92
ΔE00 4.51
Dusky Blue
#475F94
ΔE00 4.70
Sapphire
#0F52BA
ΔE00 4.70
Denim (survey)
#3B638C
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5FB4 #B48F3A
analogous
#3A9CB4 #3A5FB4 #523AB4
triadic
#3A5FB4 #B43A5F #5FB43A
tetradic
#3A5FB4 #B43A9C #B48F3A #3AB452
square
#3A5FB4 #B43A9C #B48F3A #3AB452
split-complementary
#3A5FB4 #B4523A #9CB43A
monochromatic
#1C2E57 #2B4786 #3A5FB4 #6080CC #8EA5DB
Accessibility & contrast
On white
6.04
#3A5FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#3A5FB4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5FB4
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5FB4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5FB4 | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3369B7
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3a5fb4; /* rgb */ color: rgb(58, 95, 180); /* oklch */ color: oklch(50.4% 0.141 264.3);
Tailwind
colors: {
custom: {
50: '#7e8bcb',
500: '#3a5fb4',
950: '#000000',
},
}SCSS
$custom: #3a5fb4; $custom-light: #7e8bcb; $custom-dark: #000000;
JSON
{
"hex": "#3a5fb4",
"rgb": {
"r": 58,
"g": 95,
"b": 180
},
"hsl": {
"h": 221.803,
"s": 51.261,
"l": 46.667
},
"oklch": {
"l": 0.50363,
"c": 0.14131,
"h": 264.3
},
"luminance": 0.12379
}Semantic roles & 50–950 ramp
primary
#3A5FB4
secondary
#C5B285
accent
#B04DDB
background
#F8F8FC
surface
#EFF0F8
border
#CACBD1
text
#0B0C13
muted
#7C7D82