#3A5DC4#3A5DC4
#3A5DC4 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.1% C 0.166 H 266.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5DC4 |
|---|---|
| RGB | rgb(58, 93, 196) |
| HSL | hsl(225, 54%, 50%) |
| HSV | hsv(225, 70%, 77%) |
| CMYK | cmyk(70.4%, 52.6%, 0%, 23.1%) |
| CIE-LAB | lab(42.33, 22.46, -57.59) |
| CIE-LCH | lch(42.33, 61.82, 291.31°) |
| OKLab | oklab(51.1% -0.0104 -0.1656) |
| OKLCH | oklch(51.1% 0.166 266.4) |
| XYZ | xyz(15.6196, 12.7122, 53.8444) |
| Luminance | 0.1271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.57
Sapphire
#0F52BA
ΔE00 4.70
Azul
#1D5DEC
ΔE00 4.71
Warm Blue
#4B57DB
ΔE00 5.11
Royal Blue
#4169E1
ΔE00 5.54
French Blue
#436BAD
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5DC4 #C4A13A
analogous
#3AA2C4 #3A5DC4 #5C3AC4
triadic
#3A5DC4 #C43A5D #5DC43A
tetradic
#3A5DC4 #C43AA2 #C4A13A #3AC45C
square
#3A5DC4 #C43AA2 #C4A13A #3AC45C
split-complementary
#3A5DC4 #C45C3A #A2C43A
monochromatic
#1E3066 #2C4795 #3A5DC4 #6984D3 #98AAE0
Accessibility & contrast
On white
5.93
#3A5DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#3A5DC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5DC4
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5DC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5DC4 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176BC8
Deuteranopia (green-blind)
#005EC2
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5dc4; /* rgb */ color: rgb(58, 93, 196); /* oklch */ color: oklch(51.1% 0.166 266.4);
Tailwind
colors: {
custom: {
50: '#818ad7',
500: '#3a5dc4',
950: '#000000',
},
}SCSS
$custom: #3a5dc4; $custom-light: #818ad7; $custom-dark: #000000;
JSON
{
"hex": "#3a5dc4",
"rgb": {
"r": 58,
"g": 93,
"b": 196
},
"hsl": {
"h": 224.783,
"s": 54.331,
"l": 49.804
},
"oklch": {
"l": 0.51096,
"c": 0.16595,
"h": 266.4
},
"luminance": 0.12714
}Semantic roles & 50–950 ramp
primary
#3A5DC4
secondary
#CCBC8E
accent
#B84ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83