#2A26B1#2A26B1
#2A26B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.0% C 0.208 H 272.4°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26B1 |
|---|---|
| RGB | rgb(42, 38, 177) |
| HSL | hsl(242, 65%, 42%) |
| HSV | hsv(242, 79%, 69%) |
| CMYK | cmyk(76.3%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(26.88, 47.86, -71.72) |
| CIE-LCH | lch(26.88, 86.22, 303.72°) |
| OKLab | oklab(39.04% 0.0089 -0.2076) |
| OKLCH | oklch(39.04% 0.208 272.4) |
| XYZ | xyz(9.5811, 5.0518, 42.0566) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.97
True Blue
#010FCC
ΔE00 4.31
Sapphire (survey)
#2138AB
ΔE00 5.07
Ultramarine
#2000B1
ΔE00 5.11
Mediumblue
#0000CD
ΔE00 5.16
Cobalt Blue
#030AA7
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26B1 #ADB126
analogous
#2667B1 #2A26B1 #7026B1
triadic
#2A26B1 #B12A26 #26B12A
tetradic
#2A26B1 #B12667 #ADB126 #26B170
square
#2A26B1 #B12667 #ADB126 #26B170
split-complementary
#2A26B1 #B17026 #67B126
monochromatic
#12104C #1E1B7F #2A26B1 #433FD6 #7471E0
Accessibility & contrast
On white
10.44
#2A26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#2A26B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26B1
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26B1 | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a26b1; /* rgb */ color: rgb(42, 38, 177); /* oklch */ color: oklch(39.0% 0.208 272.4);
Tailwind
colors: {
custom: {
50: '#7b63ca',
500: '#2a26b1',
950: '#000000',
},
}SCSS
$custom: #2a26b1; $custom-light: #7b63ca; $custom-dark: #000000;
JSON
{
"hex": "#2a26b1",
"rgb": {
"r": 42,
"g": 38,
"b": 177
},
"hsl": {
"h": 241.727,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.39041,
"c": 0.20776,
"h": 272.4
},
"luminance": 0.05053
}Semantic roles & 50–950 ramp
primary
#2A26B1
secondary
#C5C76B
accent
#E840E3
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82