#3A55B2#3A55B2
#3A55B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.1% C 0.151 H 268.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #3A55B2 |
|---|---|
| RGB | rgb(58, 85, 178) |
| HSL | hsl(227, 51%, 46%) |
| HSV | hsv(227, 67%, 70%) |
| CMYK | cmyk(67.4%, 52.2%, 0%, 30.2%) |
| CIE-LAB | lab(38.92, 21.09, -52.59) |
| CIE-LCH | lch(38.92, 56.66, 291.85°) |
| OKLab | oklab(48.12% -0.005 -0.151) |
| OKLCH | oklch(48.12% 0.151 268.1) |
| XYZ | xyz(13.0265, 10.6097, 43.4722) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.45
Denim Blue
#3B5B92
ΔE00 5.13
Cobalt
#0047AB
ΔE00 5.49
Dusky Blue
#475F94
ΔE00 5.66
Denim
#1560BD
ΔE00 6.11
Dusk Blue
#26538D
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A55B2 #B2973A
analogous
#3A91B2 #3A55B2 #5B3AB2
triadic
#3A55B2 #B23A55 #55B23A
tetradic
#3A55B2 #B23A91 #B2973A #3AB25B
square
#3A55B2 #B23A91 #B2973A #3AB25B
split-complementary
#3A55B2 #B25B3A #91B23A
monochromatic
#1C2956 #2B3F84 #3A55B2 #5F77CB #8D9EDA
Accessibility & contrast
On white
6.73
#3A55B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#3A55B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A55B2
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A55B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A55B2 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B61B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #3a55b2; /* rgb */ color: rgb(58, 85, 178); /* oklch */ color: oklch(48.1% 0.151 268.1);
Tailwind
colors: {
custom: {
50: '#7e84ca',
500: '#3a55b2',
950: '#000000',
},
}SCSS
$custom: #3a55b2; $custom-light: #7e84ca; $custom-dark: #000000;
JSON
{
"hex": "#3a55b2",
"rgb": {
"r": 58,
"g": 85,
"b": 178
},
"hsl": {
"h": 226.5,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.48116,
"c": 0.15109,
"h": 268.1
},
"luminance": 0.10611
}Semantic roles & 50–950 ramp
primary
#3A55B2
secondary
#C4B683
accent
#BB4DDA
background
#F8F8FC
surface
#EFEFF8
border
#CACAD1
text
#0B0A13
muted
#7C7C82