#2A26B0#2A26B0
#2A26B0 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.207 H 272.5°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26B0 |
|---|---|
| RGB | rgb(42, 38, 176) |
| HSL | hsl(242, 64%, 42%) |
| HSV | hsv(242, 78%, 69%) |
| CMYK | cmyk(76.1%, 78.4%, 0%, 31%) |
| CIE-LAB | lab(26.77, 47.54, -71.31) |
| CIE-LCH | lch(26.77, 85.70, 303.69°) |
| OKLab | oklab(38.93% 0.0091 -0.2064) |
| OKLCH | oklch(38.93% 0.207 272.5) |
| XYZ | xyz(9.4818, 5.0120, 41.5336) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.99
True Blue
#010FCC
ΔE00 4.40
Sapphire (survey)
#2138AB
ΔE00 5.05
Ultramarine
#2000B1
ΔE00 5.10
Cobalt Blue
#030AA7
ΔE00 5.19
Mediumblue
#0000CD
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26B0 #ACB026
analogous
#2667B0 #2A26B0 #6F26B0
triadic
#2A26B0 #B02A26 #26B02A
tetradic
#2A26B0 #B02667 #ACB026 #26B06F
square
#2A26B0 #B02667 #ACB026 #26B06F
split-complementary
#2A26B0 #B06F26 #67B026
monochromatic
#12104B #1E1B7E #2A26B0 #423ED5 #7370E0
Accessibility & contrast
On white
10.49
#2A26B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#2A26B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26B0
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26B0 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#0038AE
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #2a26b0; /* rgb */ color: rgb(42, 38, 176); /* oklch */ color: oklch(38.9% 0.207 272.5);
Tailwind
colors: {
custom: {
50: '#7b63c9',
500: '#2a26b0',
950: '#000000',
},
}SCSS
$custom: #2a26b0; $custom-light: #7b63c9; $custom-dark: #000000;
JSON
{
"hex": "#2a26b0",
"rgb": {
"r": 42,
"g": 38,
"b": 176
},
"hsl": {
"h": 241.739,
"s": 64.486,
"l": 41.961
},
"oklch": {
"l": 0.38929,
"c": 0.20657,
"h": 272.5
},
"luminance": 0.05013
}Semantic roles & 50–950 ramp
primary
#2A26B0
secondary
#C4C76B
accent
#E740E3
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82