#2A26AB#2A26AB
#2A26AB is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.201 H 272.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26AB |
|---|---|
| RGB | rgb(42, 38, 171) |
| HSL | hsl(242, 64%, 41%) |
| HSV | hsv(242, 78%, 67%) |
| CMYK | cmyk(75.4%, 77.8%, 0%, 32.9%) |
| CIE-LAB | lab(26.21, 45.93, -69.23) |
| CIE-LCH | lch(26.21, 83.08, 303.56°) |
| OKLab | oklab(38.37% 0.0102 -0.2003) |
| OKLCH | oklch(38.37% 0.201 272.9) |
| XYZ | xyz(8.9962, 4.8178, 38.9760) |
| Luminance | 0.0482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.15
True Blue
#010FCC
ΔE00 4.86
Sapphire (survey)
#2138AB
ΔE00 5.01
Cobalt Blue
#030AA7
ΔE00 5.02
Royal
#0C1793
ΔE00 5.05
Ultramarine
#2000B1
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26AB #A7AB26
analogous
#2664AB #2A26AB #6D26AB
triadic
#2A26AB #AB2A26 #26AB2A
tetradic
#2A26AB #AB2664 #A7AB26 #26AB6D
square
#2A26AB #AB2664 #A7AB26 #26AB6D
split-complementary
#2A26AB #AB6D26 #64AB26
monochromatic
#111047 #1E1B79 #2A26AB #3F3BD3 #706DDF
Accessibility & contrast
On white
10.69
#2A26AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2A26AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26AB
10.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26AB | 1.00 | 10.69 | 1.96 | 10.69 |
| #FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#0037A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a26ab; /* rgb */ color: rgb(42, 38, 171); /* oklch */ color: oklch(38.4% 0.201 272.9);
Tailwind
colors: {
custom: {
50: '#7a63c5',
500: '#2a26ab',
950: '#000000',
},
}SCSS
$custom: #2a26ab; $custom-light: #7a63c5; $custom-dark: #000000;
JSON
{
"hex": "#2a26ab",
"rgb": {
"r": 42,
"g": 38,
"b": 171
},
"hsl": {
"h": 241.805,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.38372,
"c": 0.2006,
"h": 272.9
},
"luminance": 0.04819
}Semantic roles & 50–950 ramp
primary
#2A26AB
secondary
#C2C568
accent
#E741E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82