#3A5DC6#3A5DC6
#3A5DC6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.169 H 266.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5DC6 |
|---|---|
| RGB | rgb(58, 93, 198) |
| HSL | hsl(225, 55%, 50%) |
| HSV | hsv(225, 71%, 78%) |
| CMYK | cmyk(70.7%, 53%, 0%, 22.4%) |
| CIE-LAB | lab(42.47, 23.20, -58.53) |
| CIE-LCH | lch(42.47, 62.96, 291.62°) |
| OKLab | oklab(51.25% -0.0102 -0.1684) |
| OKLCH | oklch(51.25% 0.169 266.5) |
| XYZ | xyz(15.8488, 12.8038, 55.0513) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.47
Denim
#1560BD
ΔE00 4.72
Sapphire
#0F52BA
ΔE00 4.83
Warm Blue
#4B57DB
ΔE00 4.89
Royal Blue
#4169E1
ΔE00 5.37
French Blue
#436BAD
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5DC6 #C6A33A
analogous
#3AA3C6 #3A5DC6 #5D3AC6
triadic
#3A5DC6 #C63A5D #5DC63A
tetradic
#3A5DC6 #C63AA3 #C6A33A #3AC65D
square
#3A5DC6 #C63AA3 #C6A33A #3AC65D
split-complementary
#3A5DC6 #C65D3A #A3C63A
monochromatic
#1E3068 #2C4797 #3A5DC6 #6984D4 #99ABE1
Accessibility & contrast
On white
5.90
#3A5DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#3A5DC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5DC6
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5DC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5DC6 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#126BCA
Deuteranopia (green-blind)
#005EC4
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5dc6; /* rgb */ color: rgb(58, 93, 198); /* oklch */ color: oklch(51.2% 0.169 266.5);
Tailwind
colors: {
custom: {
50: '#818ad8',
500: '#3a5dc6',
950: '#000000',
},
}SCSS
$custom: #3a5dc6; $custom-light: #818ad8; $custom-dark: #000000;
JSON
{
"hex": "#3a5dc6",
"rgb": {
"r": 58,
"g": 93,
"b": 198
},
"hsl": {
"h": 225,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.51247,
"c": 0.16867,
"h": 266.5
},
"luminance": 0.12805
}Semantic roles & 50–950 ramp
primary
#3A5DC6
secondary
#CDBE8F
accent
#B949DE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B15
muted
#7D7C83