#3A26C2#3A26C2
#3A26C2 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 42.0% C 0.224 H 276.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #3A26C2 |
|---|---|
| RGB | rgb(58, 38, 194) |
| HSL | hsl(248, 67%, 45%) |
| HSV | hsv(248, 80%, 76%) |
| CMYK | cmyk(70.1%, 80.4%, 0%, 23.9%) |
| CIE-LAB | lab(29.86, 54.35, -76.84) |
| CIE-LCH | lch(29.86, 94.12, 305.27°) |
| OKLab | oklab(41.96% 0.0253 -0.2221) |
| OKLCH | oklch(41.96% 0.224 276.5) |
| XYZ | xyz(12.1725, 6.1797, 51.5798) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.43
Violet Blue
#510AC9
ΔE00 3.90
True Blue
#010FCC
ΔE00 4.08
Ultramarine Blue
#1805DB
ΔE00 4.26
Purple Blue
#5D21D0
ΔE00 4.64
Pure Blue
#0203E2
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A26C2 #AEC226
analogous
#2660C2 #3A26C2 #8826C2
triadic
#3A26C2 #C23A26 #26C23A
tetradic
#3A26C2 #C22660 #AEC226 #26C288
square
#3A26C2 #C22660 #AEC226 #26C288
split-complementary
#3A26C2 #C28826 #60C226
monochromatic
#1B125C #2B1C8F #3A26C2 #5C4ADB #8A7DE6
Accessibility & contrast
On white
9.39
#3A26C2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#3A26C2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3A26C2
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A26C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3A26C2 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC6
Deuteranopia (green-blind)
#003FBF
Tritanopia (blue-blind)
#005775
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #3a26c2; /* rgb */ color: rgb(58, 38, 194); /* oklch */ color: oklch(42.0% 0.224 276.5);
Tailwind
colors: {
custom: {
50: '#8565d6',
500: '#3a26c2',
950: '#000000',
},
}SCSS
$custom: #3a26c2; $custom-light: #8565d6; $custom-dark: #000000;
JSON
{
"hex": "#3a26c2",
"rgb": {
"r": 58,
"g": 38,
"b": 194
},
"hsl": {
"h": 247.692,
"s": 67.241,
"l": 45.49
},
"oklch": {
"l": 0.41955,
"c": 0.22352,
"h": 276.5
},
"luminance": 0.06181
}Semantic roles & 50–950 ramp
primary
#3A26C2
secondary
#C2CE76
accent
#EA3ED4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0615
muted
#7E7A83