#3A5EC3#3A5EC3
#3A5EC3 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.2% C 0.163 H 266.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5EC3 |
|---|---|
| RGB | rgb(58, 94, 195) |
| HSL | hsl(224, 54%, 50%) |
| HSV | hsv(224, 70%, 76%) |
| CMYK | cmyk(70.3%, 51.8%, 0%, 23.5%) |
| CIE-LAB | lab(42.53, 21.46, -56.69) |
| CIE-LCH | lch(42.53, 60.62, 290.73°) |
| OKLab | oklab(51.23% -0.0114 -0.163) |
| OKLCH | oklch(51.23% 0.163 266) |
| XYZ | xyz(15.5945, 12.8435, 53.2764) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Denim
#1560BD
ΔE00 4.31
Sapphire
#0F52BA
ΔE00 4.82
Azul
#1D5DEC
ΔE00 4.82
French Blue
#436BAD
ΔE00 5.33
Royal Blue
#4169E1
ΔE00 5.42
Warm Blue
#4B57DB
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5EC3 #C39F3A
analogous
#3AA2C3 #3A5EC3 #5B3AC3
triadic
#3A5EC3 #C33A5E #5EC33A
tetradic
#3A5EC3 #C33AA2 #C39F3A #3AC35B
square
#3A5EC3 #C33AA2 #C39F3A #3AC35B
split-complementary
#3A5EC3 #C35B3A #A2C33A
monochromatic
#1E3165 #2C4794 #3A5EC3 #6884D2 #97AAE0
Accessibility & contrast
On white
5.88
#3A5EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#3A5EC3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5EC3
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5EC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5EC3 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6BC7
Deuteranopia (green-blind)
#005EC1
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5ec3; /* rgb */ color: rgb(58, 94, 195); /* oklch */ color: oklch(51.2% 0.163 266.0);
Tailwind
colors: {
custom: {
50: '#818bd6',
500: '#3a5ec3',
950: '#000000',
},
}SCSS
$custom: #3a5ec3; $custom-light: #818bd6; $custom-dark: #000000;
JSON
{
"hex": "#3a5ec3",
"rgb": {
"r": 58,
"g": 94,
"b": 195
},
"hsl": {
"h": 224.234,
"s": 54.15,
"l": 49.608
},
"oklch": {
"l": 0.51226,
"c": 0.16335,
"h": 266
},
"luminance": 0.12845
}Semantic roles & 50–950 ramp
primary
#3A5EC3
secondary
#CCBB8D
accent
#B74ADE
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0B14
muted
#7D7C83