#3A5BC8#3A5BC8
#3A5BC8 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.0% C 0.174 H 267.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5BC8 |
|---|---|
| RGB | rgb(58, 91, 200) |
| HSL | hsl(226, 56%, 51%) |
| HSV | hsv(226, 71%, 78%) |
| CMYK | cmyk(71%, 54.5%, 0%, 21.6%) |
| CIE-LAB | lab(42.08, 25.21, -60.31) |
| CIE-LCH | lch(42.08, 65.37, 292.69°) |
| OKLab | oklab(51% -0.0085 -0.1736) |
| OKLCH | oklch(51% 0.174 267.2) |
| XYZ | xyz(15.9077, 12.5502, 56.2165) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.28
Azul
#1D5DEC
ΔE00 4.34
Sapphire
#0F52BA
ΔE00 4.70
Denim
#1560BD
ΔE00 5.29
Royal Blue
#4169E1
ΔE00 5.71
French Blue
#436BAD
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5BC8 #C8A73A
analogous
#3AA2C8 #3A5BC8 #603AC8
triadic
#3A5BC8 #C83A5B #5BC83A
tetradic
#3A5BC8 #C83AA2 #C8A73A #3AC860
square
#3A5BC8 #C83AA2 #C8A73A #3AC860
split-complementary
#3A5BC8 #C8603A #A2C83A
monochromatic
#1E2F6A #2B459A #3A5BC8 #6A83D5 #9AABE3
Accessibility & contrast
On white
5.98
#3A5BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#3A5BC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5BC8
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5BC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5BC8 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#007588
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #3a5bc8; /* rgb */ color: rgb(58, 91, 200); /* oklch */ color: oklch(51.0% 0.174 267.2);
Tailwind
colors: {
custom: {
50: '#8288d9',
500: '#3a5bc8',
950: '#000000',
},
}SCSS
$custom: #3a5bc8; $custom-light: #8288d9; $custom-dark: #000000;
JSON
{
"hex": "#3a5bc8",
"rgb": {
"r": 58,
"g": 91,
"b": 200
},
"hsl": {
"h": 226.056,
"s": 56.349,
"l": 50.588
},
"oklch": {
"l": 0.50998,
"c": 0.17386,
"h": 267.2
},
"luminance": 0.12552
}Semantic roles & 50–950 ramp
primary
#3A5BC8
secondary
#CEC08F
accent
#BC48E0
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83