#3A5CC8#3A5CC8
#3A5CC8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.2% C 0.173 H 266.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5CC8 |
|---|---|
| RGB | rgb(58, 92, 200) |
| HSL | hsl(226, 56%, 51%) |
| HSV | hsv(226, 71%, 78%) |
| CMYK | cmyk(71%, 54%, 0%, 21.6%) |
| CIE-LAB | lab(42.34, 24.57, -59.88) |
| CIE-LCH | lch(42.34, 64.73, 292.31°) |
| OKLab | oklab(51.2% -0.0093 -0.1724) |
| OKLCH | oklch(51.2% 0.173 266.9) |
| XYZ | xyz(15.9938, 12.7223, 56.2451) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 4.27
Warm Blue
#4B57DB
ΔE00 4.46
Sapphire
#0F52BA
ΔE00 4.82
Denim
#1560BD
ΔE00 5.07
Royal Blue
#4169E1
ΔE00 5.45
French Blue
#436BAD
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5CC8 #C8A63A
analogous
#3AA3C8 #3A5CC8 #5F3AC8
triadic
#3A5CC8 #C83A5C #5CC83A
tetradic
#3A5CC8 #C83AA3 #C8A63A #3AC85F
square
#3A5CC8 #C83AA3 #C8A63A #3AC85F
split-complementary
#3A5CC8 #C85F3A #A3C83A
monochromatic
#1E306A #2B469A #3A5CC8 #6A84D5 #9AABE3
Accessibility & contrast
On white
5.92
#3A5CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#3A5CC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5CC8
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5CC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5CC8 | 1.00 | 5.92 | 3.54 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#036BCC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5cc8; /* rgb */ color: rgb(58, 92, 200); /* oklch */ color: oklch(51.2% 0.173 266.9);
Tailwind
colors: {
custom: {
50: '#8289d9',
500: '#3a5cc8',
950: '#000000',
},
}SCSS
$custom: #3a5cc8; $custom-light: #8289d9; $custom-dark: #000000;
JSON
{
"hex": "#3a5cc8",
"rgb": {
"r": 58,
"g": 92,
"b": 200
},
"hsl": {
"h": 225.634,
"s": 56.349,
"l": 50.588
},
"oklch": {
"l": 0.51198,
"c": 0.17262,
"h": 266.9
},
"luminance": 0.12724
}Semantic roles & 50–950 ramp
primary
#3A5CC8
secondary
#CEBF8F
accent
#BB48E0
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83