#3A5BCC#3A5BCC
#3A5BCC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.3% C 0.179 H 267.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5BCC |
|---|---|
| RGB | rgb(58, 91, 204) |
| HSL | hsl(226, 59%, 51%) |
| HSV | hsv(226, 72%, 80%) |
| CMYK | cmyk(71.6%, 55.4%, 0%, 20%) |
| CIE-LAB | lab(42.37, 26.67, -62.15) |
| CIE-LCH | lch(42.37, 67.63, 293.22°) |
| OKLab | oklab(51.31% -0.0082 -0.179) |
| OKLCH | oklch(51.31% 0.179 267.4) |
| XYZ | xyz(16.3813, 12.7396, 58.7107) |
| Luminance | 0.1274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.84
Azul
#1D5DEC
ΔE00 3.88
Sapphire
#0F52BA
ΔE00 5.04
Royal Blue
#4169E1
ΔE00 5.43
Denim
#1560BD
ΔE00 5.60
Electric Blue
#0652FF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5BCC #CCAB3A
analogous
#3AA4CC #3A5BCC #623ACC
triadic
#3A5BCC #CC3A5B #5BCC3A
tetradic
#3A5BCC #CC3AA4 #CCAB3A #3ACC62
square
#3A5BCC #CC3AA4 #CCAB3A #3ACC62
split-complementary
#3A5BCC #CC623A #A4CC3A
monochromatic
#1D2F6F #2944A0 #3A5BCC #6B83D9 #9BACE5
Accessibility & contrast
On white
5.92
#3A5BCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#3A5BCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5BCC
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5BCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5BCC | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #3a5bcc; /* rgb */ color: rgb(58, 91, 204); /* oklch */ color: oklch(51.3% 0.179 267.4);
Tailwind
colors: {
custom: {
50: '#8389dc',
500: '#3a5bcc',
950: '#000000',
},
}SCSS
$custom: #3a5bcc; $custom-light: #8389dc; $custom-dark: #000000;
JSON
{
"hex": "#3a5bcc",
"rgb": {
"r": 58,
"g": 91,
"b": 204
},
"hsl": {
"h": 226.438,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.51309,
"c": 0.17924,
"h": 267.4
},
"luminance": 0.12741
}Semantic roles & 50–950 ramp
primary
#3A5BCC
secondary
#D1C391
accent
#BF46E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83