#3A26A4#3A26A4
#3A26A4 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.8% C 0.188 H 280.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).
Color values
| HEX | #3A26A4 |
|---|---|
| RGB | rgb(58, 38, 164) |
| HSL | hsl(250, 62%, 40%) |
| HSV | hsv(250, 77%, 64%) |
| CMYK | cmyk(64.6%, 76.8%, 0%, 35.7%) |
| CIE-LAB | lab(26.64, 45.27, -64.26) |
| CIE-LCH | lch(26.64, 78.61, 305.16°) |
| OKLab | oklab(38.75% 0.0334 -0.1855) |
| OKLCH | oklch(38.75% 0.188 280.2) |
| XYZ | xyz(9.1367, 4.9654, 35.5917) |
| Luminance | 0.0497 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.89
Royal
#0C1793
ΔE00 5.45
Ultramarine
#2000B1
ΔE00 5.51
Cobalt Blue
#030AA7
ΔE00 5.65
Sapphire (survey)
#2138AB
ΔE00 5.88
True Blue
#010FCC
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A26A4 #90A426
analogous
#2651A4 #3A26A4 #7926A4
triadic
#3A26A4 #A43A26 #26A43A
tetradic
#3A26A4 #A42651 #90A426 #26A479
square
#3A26A4 #A42651 #90A426 #26A479
split-complementary
#3A26A4 #A47926 #51A426
monochromatic
#170F41 #281A72 #3A26A4 #4F37D1 #7B68DC
Accessibility & contrast
On white
10.54
#3A26A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#3A26A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A26A4
10.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A26A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A26A4 | 1.00 | 10.54 | 1.99 | 10.54 |
| #FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004B64
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #3a26a4; /* rgb */ color: rgb(58, 38, 164); /* oklch */ color: oklch(38.8% 0.188 280.2);
Tailwind
colors: {
custom: {
50: '#7f63c0',
500: '#3a26a4',
950: '#000000',
},
}SCSS
$custom: #3a26a4; $custom-light: #7f63c0; $custom-dark: #000000;
JSON
{
"hex": "#3a26a4",
"rgb": {
"r": 58,
"g": 38,
"b": 164
},
"hsl": {
"h": 249.524,
"s": 62.376,
"l": 39.608
},
"oklch": {
"l": 0.38753,
"c": 0.18845,
"h": 280.2
},
"luminance": 0.04966
}Semantic roles & 50–950 ramp
primary
#3A26A4
secondary
#B3C264
accent
#E542CC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81