#3A6DC5#3A6DC5
#3A6DC5 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.5% C 0.148 H 260.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #3A6DC5 |
|---|---|
| RGB | rgb(58, 109, 197) |
| HSL | hsl(218, 55%, 50%) |
| HSV | hsv(218, 71%, 77%) |
| CMYK | cmyk(70.6%, 44.7%, 0%, 22.7%) |
| CIE-LAB | lab(46.80, 12.61, -50.97) |
| CIE-LCH | lch(46.80, 52.51, 283.90°) |
| OKLab | oklab(54.54% -0.0244 -0.1459) |
| OKLCH | oklch(54.54% 0.148 260.5) |
| XYZ | xyz(17.2880, 15.8662, 54.9639) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 2.86
Medium Blue
#2C6FBB
ΔE00 3.02
Mid Blue
#276AB3
ΔE00 3.81
Cerulean Blue
#056EEE
ΔE00 4.32
Royal Blue
#4169E1
ΔE00 4.54
Flat Blue
#3C73A8
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A6DC5 #C5923A
analogous
#3AB2C5 #3A6DC5 #4D3AC5
triadic
#3A6DC5 #C53A6D #6DC53A
tetradic
#3A6DC5 #C53AB2 #C5923A #3AC54D
square
#3A6DC5 #C53AB2 #C5923A #3AC54D
split-complementary
#3A6DC5 #C54D3A #B2C53A
monochromatic
#1E3966 #2C5396 #3A6DC5 #6990D3 #99B3E1
Accessibility & contrast
On white
5.03
#3A6DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#3A6DC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A6DC5
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A6DC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A6DC5 | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4176C8
Deuteranopia (green-blind)
#2769C3
Tritanopia (blue-blind)
#00828F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3a6dc5; /* rgb */ color: rgb(58, 109, 197); /* oklch */ color: oklch(54.5% 0.148 260.5);
Tailwind
colors: {
custom: {
50: '#8196d7',
500: '#3a6dc5',
950: '#000000',
},
}SCSS
$custom: #3a6dc5; $custom-light: #8196d7; $custom-dark: #000000;
JSON
{
"hex": "#3a6dc5",
"rgb": {
"r": 58,
"g": 109,
"b": 197
},
"hsl": {
"h": 217.986,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.54535,
"c": 0.14789,
"h": 260.5
},
"luminance": 0.15868
}Semantic roles & 50–950 ramp
primary
#3A6DC5
secondary
#CDB68E
accent
#A84ADE
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83