#2A26BA#2A26BA
#2A26BA is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.218 H 271.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26BA |
|---|---|
| RGB | rgb(42, 38, 186) |
| HSL | hsl(242, 66%, 44%) |
| HSV | hsv(242, 80%, 73%) |
| CMYK | cmyk(77.4%, 79.6%, 0%, 27.1%) |
| CIE-LAB | lab(27.91, 50.72, -75.38) |
| CIE-LCH | lch(27.91, 90.86, 303.94°) |
| OKLab | oklab(40.06% 0.0069 -0.2182) |
| OKLCH | oklch(40.06% 0.218 271.8) |
| XYZ | xyz(10.5079, 5.4225, 46.9377) |
| Luminance | 0.0542 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.12
True Blue
#010FCC
ΔE00 3.70
Mediumblue
#0000CD
ΔE00 4.66
Ultramarine Blue
#1805DB
ΔE00 4.74
Pure Blue
#0203E2
ΔE00 5.23
Sapphire (survey)
#2138AB
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26BA #B6BA26
analogous
#266CBA #2A26BA #7426BA
triadic
#2A26BA #BA2A26 #26BA2A
tetradic
#2A26BA #BA266C #B6BA26 #26BA74
square
#2A26BA #BA266C #B6BA26 #26BA74
split-complementary
#2A26BA #BA7426 #6CBA26
monochromatic
#131154 #1F1C87 #2A26BA #4844D9 #7A77E3
Accessibility & contrast
On white
10.07
#2A26BA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#2A26BA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26BA
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26BA | 1.00 | 10.07 | 2.08 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049BE
Deuteranopia (green-blind)
#003AB7
Tritanopia (blue-blind)
#005470
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #2a26ba; /* rgb */ color: rgb(42, 38, 186); /* oklch */ color: oklch(40.1% 0.218 271.8);
Tailwind
colors: {
custom: {
50: '#7d64d0',
500: '#2a26ba',
950: '#000000',
},
}SCSS
$custom: #2a26ba; $custom-light: #7d64d0; $custom-dark: #000000;
JSON
{
"hex": "#2a26ba",
"rgb": {
"r": 42,
"g": 38,
"b": 186
},
"hsl": {
"h": 241.622,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.40056,
"c": 0.2183,
"h": 271.8
},
"luminance": 0.05424
}Semantic roles & 50–950 ramp
primary
#2A26BA
secondary
#C8CB71
accent
#E93FE4
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83