#2A26C1#2A26C1
#2A26C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.9% C 0.226 H 271.4°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26C1 |
|---|---|
| RGB | rgb(42, 38, 193) |
| HSL | hsl(242, 67%, 45%) |
| HSV | hsv(242, 80%, 76%) |
| CMYK | cmyk(78.2%, 80.3%, 0%, 24.3%) |
| CIE-LAB | lab(28.71, 52.91, -78.18) |
| CIE-LCH | lch(28.71, 94.40, 304.09°) |
| OKLab | oklab(40.85% 0.0054 -0.2263) |
| OKLCH | oklch(40.85% 0.226 271.4) |
| XYZ | xyz(11.2703, 5.7275, 50.9533) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
True Blue
#010FCC
ΔE00 3.47
Indigo Blue
#3A18B1
ΔE00 3.52
Ultramarine Blue
#1805DB
ΔE00 4.17
Mediumblue
#0000CD
ΔE00 4.49
Pure Blue
#0203E2
ΔE00 4.60
Violet Blue
#510AC9
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26C1 #BDC126
analogous
#2670C1 #2A26C1 #7726C1
triadic
#2A26C1 #C12A26 #26C12A
tetradic
#2A26C1 #C12670 #BDC126 #26C177
square
#2A26C1 #C12670 #BDC126 #26C177
split-complementary
#2A26C1 #C17726 #70C126
monochromatic
#14125B #1F1C8E #2A26C1 #4D49DB #7F7CE5
Accessibility & contrast
On white
9.79
#2A26C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A26C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26C1
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26C1 | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a26c1; /* rgb */ color: rgb(42, 38, 193); /* oklch */ color: oklch(40.9% 0.226 271.4);
Tailwind
colors: {
custom: {
50: '#7f64d5',
500: '#2a26c1',
950: '#000000',
},
}SCSS
$custom: #2a26c1; $custom-light: #7f64d5; $custom-dark: #000000;
JSON
{
"hex": "#2a26c1",
"rgb": {
"r": 42,
"g": 38,
"b": 193
},
"hsl": {
"h": 241.548,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.40853,
"c": 0.22636,
"h": 271.4
},
"luminance": 0.05729
}Semantic roles & 50–950 ramp
primary
#2A26C1
secondary
#CBCD75
accent
#EA3EE6
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83