#3A5EB7#3A5EB7
#3A5EB7 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.147 H 265.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5EB7 |
|---|---|
| RGB | rgb(58, 94, 183) |
| HSL | hsl(223, 52%, 47%) |
| HSV | hsv(223, 68%, 72%) |
| CMYK | cmyk(68.3%, 48.6%, 0%, 28.2%) |
| CIE-LAB | lab(41.72, 17.07, -51.00) |
| CIE-LCH | lch(41.72, 53.78, 288.51°) |
| OKLab | oklab(50.36% -0.0128 -0.1462) |
| OKLCH | oklch(50.36% 0.147 265) |
| XYZ | xyz(14.2919, 12.3224, 46.4158) |
| Luminance | 0.1232 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 3.72
Sapphire
#0F52BA
ΔE00 4.46
French Blue
#436BAD
ΔE00 4.71
Denim Blue
#3B5B92
ΔE00 4.84
Dusky Blue
#475F94
ΔE00 5.03
Denim (survey)
#3B638C
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5EB7 #B7933A
analogous
#3A9DB7 #3A5EB7 #553AB7
triadic
#3A5EB7 #B73A5E #5EB73A
tetradic
#3A5EB7 #B73A9D #B7933A #3AB755
square
#3A5EB7 #B73A9D #B7933A #3AB755
split-complementary
#3A5EB7 #B7553A #9DB73A
monochromatic
#1D2E5A #2B4689 #3A5EB7 #6180CD #90A6DC
Accessibility & contrast
On white
6.06
#3A5EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#3A5EB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5EB7
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5EB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5EB7 | 1.00 | 6.06 | 3.46 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E68BA
Deuteranopia (green-blind)
#0D5DB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #3a5eb7; /* rgb */ color: rgb(58, 94, 183); /* oklch */ color: oklch(50.4% 0.147 265.0);
Tailwind
colors: {
custom: {
50: '#7e8bcd',
500: '#3a5eb7',
950: '#000000',
},
}SCSS
$custom: #3a5eb7; $custom-light: #7e8bcd; $custom-dark: #000000;
JSON
{
"hex": "#3a5eb7",
"rgb": {
"r": 58,
"g": 94,
"b": 183
},
"hsl": {
"h": 222.72,
"s": 51.867,
"l": 47.255
},
"oklch": {
"l": 0.50359,
"c": 0.14675,
"h": 265
},
"luminance": 0.12324
}Semantic roles & 50–950 ramp
primary
#3A5EB7
secondary
#C7B486
accent
#B24CDB
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B13
muted
#7C7C82