#2A26BE#2A26BE
#2A26BE is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.5% C 0.223 H 271.6°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26BE |
|---|---|
| RGB | rgb(42, 38, 190) |
| HSL | hsl(242, 67%, 45%) |
| HSV | hsv(242, 80%, 75%) |
| CMYK | cmyk(77.9%, 80%, 0%, 25.5%) |
| CIE-LAB | lab(28.37, 51.98, -76.99) |
| CIE-LCH | lch(28.37, 92.89, 304.02°) |
| OKLab | oklab(40.51% 0.0061 -0.2228) |
| OKLCH | oklch(40.51% 0.223 271.6) |
| XYZ | xyz(10.9391, 5.5950, 49.2086) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.32
True Blue
#010FCC
ΔE00 3.54
Ultramarine Blue
#1805DB
ΔE00 4.39
Mediumblue
#0000CD
ΔE00 4.54
Pure Blue
#0203E2
ΔE00 4.86
Violet Blue
#510AC9
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26BE #BABE26
analogous
#266EBE #2A26BE #7626BE
triadic
#2A26BE #BE2A26 #26BE2A
tetradic
#2A26BE #BE266E #BABE26 #26BE76
square
#2A26BE #BE266E #BABE26 #26BE76
split-complementary
#2A26BE #BE7626 #6EBE26
monochromatic
#131258 #1F1C8B #2A26BE #4B47DA #7D7AE4
Accessibility & contrast
On white
9.91
#2A26BE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#2A26BE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26BE
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26BE | 1.00 | 9.91 | 2.12 | 9.91 |
| #FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AC2
Deuteranopia (green-blind)
#003BBB
Tritanopia (blue-blind)
#005673
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a26be; /* rgb */ color: rgb(42, 38, 190); /* oklch */ color: oklch(40.5% 0.223 271.6);
Tailwind
colors: {
custom: {
50: '#7e64d3',
500: '#2a26be',
950: '#000000',
},
}SCSS
$custom: #2a26be; $custom-light: #7e64d3; $custom-dark: #000000;
JSON
{
"hex": "#2a26be",
"rgb": {
"r": 42,
"g": 38,
"b": 190
},
"hsl": {
"h": 241.579,
"s": 66.667,
"l": 44.706
},
"oklch": {
"l": 0.40511,
"c": 0.22292,
"h": 271.6
},
"luminance": 0.05596
}Semantic roles & 50–950 ramp
primary
#2A26BE
secondary
#CACC74
accent
#EA3EE5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83