#3A54BC#3A54BC
#3A54BC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.7% C 0.166 H 268.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #3A54BC |
|---|---|
| RGB | rgb(58, 84, 188) |
| HSL | hsl(228, 53%, 48%) |
| HSV | hsv(228, 69%, 74%) |
| CMYK | cmyk(69.1%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(39.36, 25.37, -57.74) |
| CIE-LCH | lch(39.36, 63.07, 293.72°) |
| OKLab | oklab(48.68% -0.0034 -0.1662) |
| OKLCH | oklch(48.68% 0.166 268.8) |
| XYZ | xyz(13.9892, 10.8697, 48.9280) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.71
Warm Blue
#4B57DB
ΔE00 5.18
Blue Blue
#2242C7
ΔE00 5.70
Cobalt
#0047AB
ΔE00 5.86
Denim Blue
#3B5B92
ΔE00 6.47
Blue (survey)
#0343DF
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A54BC #BCA23A
analogous
#3A95BC #3A54BC #613ABC
triadic
#3A54BC #BC3A54 #54BC3A
tetradic
#3A54BC #BC3A95 #BCA23A #3ABC61
square
#3A54BC #BC3A95 #BCA23A #3ABC61
split-complementary
#3A54BC #BC613A #95BC3A
monochromatic
#1D2A5E #2C3F8D #3A54BC #6479CF #93A2DE
Accessibility & contrast
On white
6.62
#3A54BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#3A54BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A54BC
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A54BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A54BC | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#006D80
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3a54bc; /* rgb */ color: rgb(58, 84, 188); /* oklch */ color: oklch(48.7% 0.166 268.8);
Tailwind
colors: {
custom: {
50: '#8083d1',
500: '#3a54bc',
950: '#000000',
},
}SCSS
$custom: #3a54bc; $custom-light: #8083d1; $custom-dark: #000000;
JSON
{
"hex": "#3a54bc",
"rgb": {
"r": 58,
"g": 84,
"b": 188
},
"hsl": {
"h": 228,
"s": 52.846,
"l": 48.235
},
"oklch": {
"l": 0.48678,
"c": 0.16621,
"h": 268.8
},
"luminance": 0.10871
}Semantic roles & 50–950 ramp
primary
#3A54BC
secondary
#C9BC89
accent
#BF4CDC
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0B0A14
muted
#7C7C82