#3A54C2#3A54C2
#3A54C2 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.2% C 0.174 H 269.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #3A54C2 |
|---|---|
| RGB | rgb(58, 84, 194) |
| HSL | hsl(229, 54%, 49%) |
| HSV | hsv(229, 70%, 76%) |
| CMYK | cmyk(70.1%, 56.7%, 0%, 23.9%) |
| CIE-LAB | lab(39.80, 27.54, -60.52) |
| CIE-LCH | lch(39.80, 66.49, 294.47°) |
| OKLab | oklab(49.15% -0.0031 -0.1744) |
| OKLCH | oklch(49.15% 0.174 269) |
| XYZ | xyz(14.6495, 11.1338, 52.4055) |
| Luminance | 0.1114 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.08
Warm Blue
#4B57DB
ΔE00 4.42
Blue Blue
#2242C7
ΔE00 5.50
Azul
#1D5DEC
ΔE00 5.95
Blue (survey)
#0343DF
ΔE00 6.03
Iris
#6258C4
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A54C2 #C2A83A
analogous
#3A98C2 #3A54C2 #643AC2
triadic
#3A54C2 #C23A54 #54C23A
tetradic
#3A54C2 #C23A98 #C2A83A #3AC264
square
#3A54C2 #C23A98 #C2A83A #3AC264
split-complementary
#3A54C2 #C2643A #98C23A
monochromatic
#1E2B64 #2C4093 #3A54C2 #677CD2 #97A5E0
Accessibility & contrast
On white
6.51
#3A54C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#3A54C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3A54C2
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A54C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A54C2 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #3a54c2; /* rgb */ color: rgb(58, 84, 194); /* oklch */ color: oklch(49.2% 0.174 269.0);
Tailwind
colors: {
custom: {
50: '#8183d5',
500: '#3a54c2',
950: '#000000',
},
}SCSS
$custom: #3a54c2; $custom-light: #8183d5; $custom-dark: #000000;
JSON
{
"hex": "#3a54c2",
"rgb": {
"r": 58,
"g": 84,
"b": 194
},
"hsl": {
"h": 228.529,
"s": 53.968,
"l": 49.412
},
"oklch": {
"l": 0.49152,
"c": 0.17439,
"h": 269
},
"luminance": 0.11135
}Semantic roles & 50–950 ramp
primary
#3A54C2
secondary
#CBBF8D
accent
#C14ADD
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0C0A14
muted
#7D7C83