#3A54C4#3A54C4
#3A54C4 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.177 H 269.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #3A54C4 |
|---|---|
| RGB | rgb(58, 84, 196) |
| HSL | hsl(229, 54%, 50%) |
| HSV | hsv(229, 70%, 77%) |
| CMYK | cmyk(70.4%, 57.1%, 0%, 23.1%) |
| CIE-LAB | lab(39.96, 28.26, -61.44) |
| CIE-LCH | lch(39.96, 67.63, 294.70°) |
| OKLab | oklab(49.31% -0.0031 -0.1771) |
| OKLCH | oklch(49.31% 0.177 269) |
| XYZ | xyz(14.8756, 11.2242, 53.5964) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.18
Sapphire
#0F52BA
ΔE00 4.23
Blue Blue
#2242C7
ΔE00 5.47
Azul
#1D5DEC
ΔE00 5.75
Blue (survey)
#0343DF
ΔE00 5.88
Iris
#6258C4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A54C4 #C4AA3A
analogous
#3A99C4 #3A54C4 #653AC4
triadic
#3A54C4 #C43A54 #54C43A
tetradic
#3A54C4 #C43A99 #C4AA3A #3AC465
square
#3A54C4 #C43A99 #C4AA3A #3AC465
split-complementary
#3A54C4 #C4653A #99C43A
monochromatic
#1E2C66 #2C4095 #3A54C4 #697DD3 #98A6E0
Accessibility & contrast
On white
6.47
#3A54C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#3A54C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A54C4
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A54C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A54C4 | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#007084
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a54c4; /* rgb */ color: rgb(58, 84, 196); /* oklch */ color: oklch(49.3% 0.177 269.0);
Tailwind
colors: {
custom: {
50: '#8283d7',
500: '#3a54c4',
950: '#000000',
},
}SCSS
$custom: #3a54c4; $custom-light: #8283d7; $custom-dark: #000000;
JSON
{
"hex": "#3a54c4",
"rgb": {
"r": 58,
"g": 84,
"b": 196
},
"hsl": {
"h": 228.696,
"s": 54.331,
"l": 49.804
},
"oklch": {
"l": 0.49312,
"c": 0.17709,
"h": 269
},
"luminance": 0.11226
}Semantic roles & 50–950 ramp
primary
#3A54C4
secondary
#CCC08E
accent
#C24ADE
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83