#3A54BF#3A54BF
#3A54BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.9% C 0.170 H 268.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).
Color values
| HEX | #3A54BF |
|---|---|
| RGB | rgb(58, 84, 191) |
| HSL | hsl(228, 53%, 49%) |
| HSV | hsv(228, 70%, 75%) |
| CMYK | cmyk(69.6%, 56%, 0%, 25.1%) |
| CIE-LAB | lab(39.58, 26.46, -59.14) |
| CIE-LCH | lch(39.58, 64.78, 294.10°) |
| OKLab | oklab(48.91% -0.0033 -0.1703) |
| OKLCH | oklch(48.91% 0.17 268.9) |
| XYZ | xyz(14.3160, 11.0004, 50.6489) |
| Luminance | 0.1100 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 3.88
Warm Blue
#4B57DB
ΔE00 4.80
Blue Blue
#2242C7
ΔE00 5.58
Cobalt
#0047AB
ΔE00 6.08
Azul
#1D5DEC
ΔE00 6.26
Blue (survey)
#0343DF
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A54BF #BFA53A
analogous
#3A97BF #3A54BF #633ABF
triadic
#3A54BF #BF3A54 #54BF3A
tetradic
#3A54BF #BF3A97 #BFA53A #3ABF63
square
#3A54BF #BF3A97 #BFA53A #3ABF63
split-complementary
#3A54BF #BF633A #97BF3A
monochromatic
#1D2B61 #2C3F90 #3A54BF #667BD0 #95A3DF
Accessibility & contrast
On white
6.56
#3A54BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#3A54BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A54BF
6.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A54BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A54BF | 1.00 | 6.56 | 3.20 | 6.56 |
| #FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#006E81
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #3a54bf; /* rgb */ color: rgb(58, 84, 191); /* oklch */ color: oklch(48.9% 0.170 268.9);
Tailwind
colors: {
custom: {
50: '#8183d3',
500: '#3a54bf',
950: '#000000',
},
}SCSS
$custom: #3a54bf; $custom-light: #8183d3; $custom-dark: #000000;
JSON
{
"hex": "#3a54bf",
"rgb": {
"r": 58,
"g": 84,
"b": 191
},
"hsl": {
"h": 228.271,
"s": 53.414,
"l": 48.824
},
"oklch": {
"l": 0.48914,
"c": 0.17031,
"h": 268.9
},
"luminance": 0.11002
}Semantic roles & 50–950 ramp
primary
#3A54BF
secondary
#CABE8B
accent
#C04BDD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83