#3A54BE#3A54BE
#3A54BE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.169 H 268.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #3A54BE |
|---|---|
| RGB | rgb(58, 84, 190) |
| HSL | hsl(228, 53%, 49%) |
| HSV | hsv(228, 69%, 75%) |
| CMYK | cmyk(69.5%, 55.8%, 0%, 25.5%) |
| CIE-LAB | lab(39.51, 26.09, -58.67) |
| CIE-LCH | lch(39.51, 64.21, 293.98°) |
| OKLab | oklab(48.84% -0.0033 -0.1689) |
| OKLCH | oklch(48.84% 0.169 268.9) |
| XYZ | xyz(14.2063, 10.9565, 50.0713) |
| Luminance | 0.1096 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.82
Warm Blue
#4B57DB
ΔE00 4.92
Blue Blue
#2242C7
ΔE00 5.62
Cobalt
#0047AB
ΔE00 6.00
Blue (survey)
#0343DF
ΔE00 6.36
Azul
#1D5DEC
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A54BE #BEA43A
analogous
#3A96BE #3A54BE #623ABE
triadic
#3A54BE #BE3A54 #54BE3A
tetradic
#3A54BE #BE3A96 #BEA43A #3ABE62
square
#3A54BE #BE3A96 #BEA43A #3ABE62
split-complementary
#3A54BE #BE623A #96BE3A
monochromatic
#1D2B60 #2C3F8F #3A54BE #657AD0 #94A3DE
Accessibility & contrast
On white
6.58
#3A54BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#3A54BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A54BE
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A54BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A54BE | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#0057BC
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3a54be; /* rgb */ color: rgb(58, 84, 190); /* oklch */ color: oklch(48.8% 0.169 268.9);
Tailwind
colors: {
custom: {
50: '#8083d2',
500: '#3a54be',
950: '#000000',
},
}SCSS
$custom: #3a54be; $custom-light: #8083d2; $custom-dark: #000000;
JSON
{
"hex": "#3a54be",
"rgb": {
"r": 58,
"g": 84,
"b": 190
},
"hsl": {
"h": 228.182,
"s": 53.226,
"l": 48.627
},
"oklch": {
"l": 0.48835,
"c": 0.16895,
"h": 268.9
},
"luminance": 0.10958
}Semantic roles & 50–950 ramp
primary
#3A54BE
secondary
#CABD8A
accent
#C04BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83