#3A55C2#3A55C2
#3A55C2 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.3% C 0.173 H 268.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #3A55C2 |
|---|---|
| RGB | rgb(58, 85, 194) |
| HSL | hsl(228, 54%, 49%) |
| HSV | hsv(228, 70%, 76%) |
| CMYK | cmyk(70.1%, 56.2%, 0%, 23.9%) |
| CIE-LAB | lab(40.06, 26.90, -60.10) |
| CIE-LCH | lch(40.06, 65.84, 294.11°) |
| OKLab | oklab(49.35% -0.0039 -0.1731) |
| OKLCH | oklch(49.35% 0.173 268.7) |
| XYZ | xyz(14.7277, 11.2901, 52.4315) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.02
Warm Blue
#4B57DB
ΔE00 4.43
Azul
#1D5DEC
ΔE00 5.78
Blue Blue
#2242C7
ΔE00 5.82
Blue (survey)
#0343DF
ΔE00 6.29
Iris
#6258C4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A55C2 #C2A73A
analogous
#3A99C2 #3A55C2 #633AC2
triadic
#3A55C2 #C23A55 #55C23A
tetradic
#3A55C2 #C23A99 #C2A73A #3AC263
square
#3A55C2 #C23A99 #C2A73A #3AC263
split-complementary
#3A55C2 #C2633A #99C23A
monochromatic
#1E2C64 #2C4093 #3A55C2 #677DD2 #97A5E0
Accessibility & contrast
On white
6.44
#3A55C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#3A55C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A55C2
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A55C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A55C2 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a55c2; /* rgb */ color: rgb(58, 85, 194); /* oklch */ color: oklch(49.3% 0.173 268.7);
Tailwind
colors: {
custom: {
50: '#8184d5',
500: '#3a55c2',
950: '#000000',
},
}SCSS
$custom: #3a55c2; $custom-light: #8184d5; $custom-dark: #000000;
JSON
{
"hex": "#3a55c2",
"rgb": {
"r": 58,
"g": 85,
"b": 194
},
"hsl": {
"h": 228.088,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.49347,
"c": 0.17314,
"h": 268.7
},
"luminance": 0.11292
}Semantic roles & 50–950 ramp
primary
#3A55C2
secondary
#CBBF8D
accent
#C04ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83