#2A26B7#2A26B7
#2A26B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.215 H 272.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26B7 |
|---|---|
| RGB | rgb(42, 38, 183) |
| HSL | hsl(242, 66%, 43%) |
| HSV | hsv(242, 79%, 72%) |
| CMYK | cmyk(77%, 79.2%, 0%, 28.2%) |
| CIE-LAB | lab(27.56, 49.78, -74.17) |
| CIE-LCH | lch(27.56, 89.32, 303.87°) |
| OKLab | oklab(39.72% 0.0076 -0.2147) |
| OKLCH | oklch(39.72% 0.215 272) |
| XYZ | xyz(10.1923, 5.2963, 45.2757) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.02
True Blue
#010FCC
ΔE00 3.87
Mediumblue
#0000CD
ΔE00 4.79
Ultramarine Blue
#1805DB
ΔE00 5.02
Sapphire (survey)
#2138AB
ΔE00 5.22
Ultramarine
#2000B1
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26B7 #B3B726
analogous
#266AB7 #2A26B7 #7226B7
triadic
#2A26B7 #B72A26 #26B72A
tetradic
#2A26B7 #B7266A #B3B726 #26B772
square
#2A26B7 #B7266A #B3B726 #26B772
split-complementary
#2A26B7 #B77226 #6AB726
monochromatic
#131152 #1E1B84 #2A26B7 #4642D8 #7875E2
Accessibility & contrast
On white
10.20
#2A26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#2A26B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26B7
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26B7 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB5
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a26b7; /* rgb */ color: rgb(42, 38, 183); /* oklch */ color: oklch(39.7% 0.215 272.0);
Tailwind
colors: {
custom: {
50: '#7d64ce',
500: '#2a26b7',
950: '#000000',
},
}SCSS
$custom: #2a26b7; $custom-light: #7d64ce; $custom-dark: #000000;
JSON
{
"hex": "#2a26b7",
"rgb": {
"r": 42,
"g": 38,
"b": 183
},
"hsl": {
"h": 241.655,
"s": 65.611,
"l": 43.333
},
"oklch": {
"l": 0.39716,
"c": 0.21481,
"h": 272
},
"luminance": 0.05297
}Semantic roles & 50–950 ramp
primary
#2A26B7
secondary
#C7CA6F
accent
#E93FE4
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82