#3A6DC7#3A6DC7
#3A6DC7 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.151 H 260.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #3A6DC7 |
|---|---|
| RGB | rgb(58, 109, 199) |
| HSL | hsl(218, 56%, 50%) |
| HSV | hsv(218, 71%, 78%) |
| CMYK | cmyk(70.9%, 45.2%, 0%, 22%) |
| CIE-LAB | lab(46.92, 13.34, -51.93) |
| CIE-LCH | lch(46.92, 53.62, 284.41°) |
| OKLab | oklab(54.67% -0.024 -0.1487) |
| OKLCH | oklch(54.67% 0.151 260.8) |
| XYZ | xyz(17.5187, 15.9585, 56.1788) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
French Blue
#436BAD
ΔE00 3.06
Medium Blue
#2C6FBB
ΔE00 3.21
Mid Blue
#276AB3
ΔE00 4.03
Cerulean Blue
#056EEE
ΔE00 4.14
Royal Blue
#4169E1
ΔE00 4.31
Cornflower Blue
#5170D7
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A6DC7 #C7943A
analogous
#3AB3C7 #3A6DC7 #4D3AC7
triadic
#3A6DC7 #C73A6D #6DC73A
tetradic
#3A6DC7 #C73AB3 #C7943A #3AC74D
square
#3A6DC7 #C73AB3 #C7943A #3AC74D
split-complementary
#3A6DC7 #C74D3A #B3C73A
monochromatic
#1E3969 #2B5398 #3A6DC7 #6A90D5 #99B4E2
Accessibility & contrast
On white
5.01
#3A6DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#3A6DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A6DC7
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A6DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A6DC7 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F76CA
Deuteranopia (green-blind)
#2369C5
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3a6dc7; /* rgb */ color: rgb(58, 109, 199); /* oklch */ color: oklch(54.7% 0.151 260.8);
Tailwind
colors: {
custom: {
50: '#8196d8',
500: '#3a6dc7',
950: '#000000',
},
}SCSS
$custom: #3a6dc7; $custom-light: #8196d8; $custom-dark: #000000;
JSON
{
"hex": "#3a6dc7",
"rgb": {
"r": 58,
"g": 109,
"b": 199
},
"hsl": {
"h": 218.298,
"s": 55.731,
"l": 50.392
},
"oklch": {
"l": 0.54668,
"c": 0.15061,
"h": 260.8
},
"luminance": 0.1596
}Semantic roles & 50–950 ramp
primary
#3A6DC7
secondary
#CEB78F
accent
#A949DF
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83