#3A55CC#3A55CC
#3A55CC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.187 H 268.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #3A55CC |
|---|---|
| RGB | rgb(58, 85, 204) |
| HSL | hsl(229, 59%, 51%) |
| HSV | hsv(229, 72%, 80%) |
| CMYK | cmyk(71.6%, 58.3%, 0%, 20%) |
| CIE-LAB | lab(40.82, 30.51, -64.66) |
| CIE-LCH | lch(40.82, 71.50, 295.26°) |
| OKLab | oklab(50.15% -0.0036 -0.1865) |
| OKLCH | oklch(50.15% 0.187 268.9) |
| XYZ | xyz(15.8888, 11.7545, 58.5465) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.24
Azul
#1D5DEC
ΔE00 4.81
Sapphire
#0F52BA
ΔE00 4.87
Blue (survey)
#0343DF
ΔE00 5.67
Blue Blue
#2242C7
ΔE00 5.79
Electric Blue
#0652FF
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A55CC #CCB13A
analogous
#3A9ECC #3A55CC #683ACC
triadic
#3A55CC #CC3A55 #55CC3A
tetradic
#3A55CC #CC3A9E #CCB13A #3ACC68
square
#3A55CC #CC3A9E #CCB13A #3ACC68
split-complementary
#3A55CC #CC683A #9ECC3A
monochromatic
#1D2C6F #293FA0 #3A55CC #6B7FD9 #9BA9E5
Accessibility & contrast
On white
6.27
#3A55CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#3A55CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A55CC
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A55CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A55CC | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D0
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#007388
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #3a55cc; /* rgb */ color: rgb(58, 85, 204); /* oklch */ color: oklch(50.2% 0.187 268.9);
Tailwind
colors: {
custom: {
50: '#8384dc',
500: '#3a55cc',
950: '#000000',
},
}SCSS
$custom: #3a55cc; $custom-light: #8384dc; $custom-dark: #000000;
JSON
{
"hex": "#3a55cc",
"rgb": {
"r": 58,
"g": 85,
"b": 204
},
"hsl": {
"h": 228.904,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.50152,
"c": 0.18656,
"h": 268.9
},
"luminance": 0.11756
}Semantic roles & 50–950 ramp
primary
#3A55CC
secondary
#D1C591
accent
#C546E2
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83