#3A5ECC#3A5ECC
#3A5ECC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 51.9% C 0.176 H 266.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).
Color values
| HEX | #3A5ECC |
|---|---|
| RGB | rgb(58, 94, 204) |
| HSL | hsl(225, 59%, 51%) |
| HSV | hsv(225, 72%, 80%) |
| CMYK | cmyk(71.6%, 53.9%, 0%, 20%) |
| CIE-LAB | lab(43.16, 24.74, -60.87) |
| CIE-LCH | lch(43.16, 65.71, 292.12°) |
| OKLab | oklab(51.9% -0.0106 -0.1752) |
| OKLCH | oklch(51.9% 0.176 266.5) |
| XYZ | xyz(16.6429, 13.2628, 58.7979) |
| Luminance | 0.1326 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Azul
#1D5DEC
ΔE00 3.73
Warm Blue
#4B57DB
ΔE00 4.49
Royal Blue
#4169E1
ΔE00 4.63
Denim
#1560BD
ΔE00 5.02
Sapphire
#0F52BA
ΔE00 5.43
French Blue
#436BAD
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A5ECC #CCA83A
analogous
#3AA7CC #3A5ECC #5F3ACC
triadic
#3A5ECC #CC3A5E #5ECC3A
tetradic
#3A5ECC #CC3AA7 #CCA83A #3ACC5F
square
#3A5ECC #CC3AA7 #CCA83A #3ACC5F
split-complementary
#3A5ECC #CC5F3A #A7CC3A
monochromatic
#1D316F #2946A0 #3A5ECC #6B86D9 #9BADE5
Accessibility & contrast
On white
5.75
#3A5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#3A5ECC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A5ECC
5.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A5ECC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A5ECC | 1.00 | 5.75 | 3.65 | 5.75 |
| #FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026DD0
Deuteranopia (green-blind)
#0060CA
Tritanopia (blue-blind)
#00798C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #3a5ecc; /* rgb */ color: rgb(58, 94, 204); /* oklch */ color: oklch(51.9% 0.176 266.5);
Tailwind
colors: {
custom: {
50: '#838bdc',
500: '#3a5ecc',
950: '#000000',
},
}SCSS
$custom: #3a5ecc; $custom-light: #838bdc; $custom-dark: #000000;
JSON
{
"hex": "#3a5ecc",
"rgb": {
"r": 58,
"g": 94,
"b": 204
},
"hsl": {
"h": 225.205,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.51903,
"c": 0.17556,
"h": 266.5
},
"luminance": 0.13265
}Semantic roles & 50–950 ramp
primary
#3A5ECC
secondary
#D1C191
accent
#BC46E2
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0C0B15
muted
#7D7C83