#3A55BB#3A55BB
#3A55BB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.164 H 268.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #3A55BB |
|---|---|
| RGB | rgb(58, 85, 187) |
| HSL | hsl(227, 53%, 48%) |
| HSV | hsv(227, 69%, 73%) |
| CMYK | cmyk(69%, 54.5%, 0%, 26.7%) |
| CIE-LAB | lab(39.55, 24.36, -56.85) |
| CIE-LCH | lch(39.55, 61.84, 293.20°) |
| OKLab | oklab(48.8% -0.0043 -0.1635) |
| OKLCH | oklch(48.8% 0.164 268.5) |
| XYZ | xyz(13.9600, 10.9830, 48.3883) |
| Luminance | 0.1098 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.61
Warm Blue
#4B57DB
ΔE00 5.32
Cobalt
#0047AB
ΔE00 5.94
Blue Blue
#2242C7
ΔE00 6.06
Denim Blue
#3B5B92
ΔE00 6.18
Denim
#1560BD
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A55BB #BBA03A
analogous
#3A95BB #3A55BB #5F3ABB
triadic
#3A55BB #BB3A55 #55BB3A
tetradic
#3A55BB #BB3A95 #BBA03A #3ABB5F
square
#3A55BB #BB3A95 #BBA03A #3ABB5F
split-complementary
#3A55BB #BB5F3A #95BB3A
monochromatic
#1D2B5E #2C408C #3A55BB #637ACF #92A2DD
Accessibility & contrast
On white
6.57
#3A55BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#3A55BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A55BB
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A55BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A55BB | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#006E7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3a55bb; /* rgb */ color: rgb(58, 85, 187); /* oklch */ color: oklch(48.8% 0.164 268.5);
Tailwind
colors: {
custom: {
50: '#8084d0',
500: '#3a55bb',
950: '#000000',
},
}SCSS
$custom: #3a55bb; $custom-light: #8084d0; $custom-dark: #000000;
JSON
{
"hex": "#3a55bb",
"rgb": {
"r": 58,
"g": 85,
"b": 187
},
"hsl": {
"h": 227.442,
"s": 52.653,
"l": 48.039
},
"oklch": {
"l": 0.48799,
"c": 0.16359,
"h": 268.5
},
"luminance": 0.10984
}Semantic roles & 50–950 ramp
primary
#3A55BB
secondary
#C8BB88
accent
#BE4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0A14
muted
#7C7C82