#3A26A8#3A26A8
#3A26A8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.2% C 0.193 H 279.6°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #3A26A8 |
|---|---|
| RGB | rgb(58, 38, 168) |
| HSL | hsl(249, 63%, 40%) |
| HSV | hsv(249, 77%, 66%) |
| CMYK | cmyk(65.5%, 77.4%, 0%, 34.1%) |
| CIE-LAB | lab(27.05, 46.50, -65.99) |
| CIE-LCH | lch(27.05, 80.73, 305.17°) |
| OKLab | oklab(39.17% 0.0323 -0.1905) |
| OKLCH | oklch(39.17% 0.193 279.6) |
| XYZ | xyz(9.5037, 5.1122, 37.5241) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.60
Ultramarine
#2000B1
ΔE00 5.40
True Blue
#010FCC
ΔE00 5.50
Cobalt Blue
#030AA7
ΔE00 5.67
Royal
#0C1793
ΔE00 5.73
Violet Blue
#510AC9
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A26A8 #94A826
analogous
#2653A8 #3A26A8 #7B26A8
triadic
#3A26A8 #A83A26 #26A83A
tetradic
#3A26A8 #A82653 #94A826 #26A87B
square
#3A26A8 #A82653 #94A826 #26A87B
split-complementary
#3A26A8 #A87B26 #53A826
monochromatic
#180F44 #291B76 #3A26A8 #5139D2 #7D6BDE
Accessibility & contrast
On white
10.38
#3A26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#3A26A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A26A8
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A26A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A26A8 | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004C66
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #3a26a8; /* rgb */ color: rgb(58, 38, 168); /* oklch */ color: oklch(39.2% 0.193 279.6);
Tailwind
colors: {
custom: {
50: '#7f64c3',
500: '#3a26a8',
950: '#000000',
},
}SCSS
$custom: #3a26a8; $custom-light: #7f64c3; $custom-dark: #000000;
JSON
{
"hex": "#3a26a8",
"rgb": {
"r": 58,
"g": 38,
"b": 168
},
"hsl": {
"h": 249.231,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.39169,
"c": 0.19325,
"h": 279.6
},
"luminance": 0.05113
}Semantic roles & 50–950 ramp
primary
#3A26A8
secondary
#B5C466
accent
#E642CD
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82