#3A55C5#3A55C5
#3A55C5 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.177 H 268.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3A55C5 |
|---|---|
| RGB | rgb(58, 85, 197) |
| HSL | hsl(228, 55%, 50%) |
| HSV | hsv(228, 71%, 77%) |
| CMYK | cmyk(70.6%, 56.9%, 0%, 22.7%) |
| CIE-LAB | lab(40.29, 27.98, -61.48) |
| CIE-LCH | lch(40.29, 67.55, 294.47°) |
| OKLab | oklab(49.59% -0.0038 -0.1772) |
| OKLCH | oklch(49.59% 0.177 268.8) |
| XYZ | xyz(15.0680, 11.4262, 54.2239) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.06
Sapphire
#0F52BA
ΔE00 4.25
Azul
#1D5DEC
ΔE00 5.47
Blue Blue
#2242C7
ΔE00 5.77
Blue (survey)
#0343DF
ΔE00 6.07
Iris
#6258C4
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A55C5 #C5AA3A
analogous
#3A9BC5 #3A55C5 #643AC5
triadic
#3A55C5 #C53A55 #55C53A
tetradic
#3A55C5 #C53A9B #C5AA3A #3AC564
square
#3A55C5 #C53A9B #C5AA3A #3AC564
split-complementary
#3A55C5 #C5643A #9BC53A
monochromatic
#1E2C66 #2C4196 #3A55C5 #697ED3 #99A7E1
Accessibility & contrast
On white
6.39
#3A55C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#3A55C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A55C5
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A55C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A55C5 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#0059C3
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #3a55c5; /* rgb */ color: rgb(58, 85, 197); /* oklch */ color: oklch(49.6% 0.177 268.8);
Tailwind
colors: {
custom: {
50: '#8284d7',
500: '#3a55c5',
950: '#000000',
},
}SCSS
$custom: #3a55c5; $custom-light: #8284d7; $custom-dark: #000000;
JSON
{
"hex": "#3a55c5",
"rgb": {
"r": 58,
"g": 85,
"b": 197
},
"hsl": {
"h": 228.345,
"s": 54.51,
"l": 50
},
"oklch": {
"l": 0.49586,
"c": 0.1772,
"h": 268.8
},
"luminance": 0.11428
}Semantic roles & 50–950 ramp
primary
#3A55C5
secondary
#CDC08E
accent
#C14ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83