#2A26C5#2A26C5
#2A26C5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.3% C 0.231 H 271.1°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26C5 |
|---|---|
| RGB | rgb(42, 38, 197) |
| HSL | hsl(242, 68%, 46%) |
| HSV | hsv(242, 81%, 77%) |
| CMYK | cmyk(78.7%, 80.7%, 0%, 22.7%) |
| CIE-LAB | lab(29.18, 54.14, -79.76) |
| CIE-LCH | lch(29.18, 96.40, 304.17°) |
| OKLab | oklab(41.31% 0.0045 -0.2309) |
| OKLCH | oklch(41.31% 0.231 271.1) |
| XYZ | xyz(11.7226, 5.9084, 53.3351) |
| Luminance | 0.0591 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
True Blue
#010FCC
ΔE00 3.45
Indigo Blue
#3A18B1
ΔE00 3.82
Ultramarine Blue
#1805DB
ΔE00 3.91
Pure Blue
#0203E2
ΔE00 4.29
Mediumblue
#0000CD
ΔE00 4.48
Violet Blue
#510AC9
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26C5 #C1C526
analogous
#2672C5 #2A26C5 #7926C5
triadic
#2A26C5 #C52A26 #26C52A
tetradic
#2A26C5 #C52672 #C1C526 #26C579
square
#2A26C5 #C52672 #C1C526 #26C579
split-complementary
#2A26C5 #C57926 #72C526
monochromatic
#14125E #1F1C92 #2A26C5 #4F4CDC #827FE6
Accessibility & contrast
On white
9.62
#2A26C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2A26C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26C5
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26C5 | 1.00 | 9.62 | 2.18 | 9.62 |
| #FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005877
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a26c5; /* rgb */ color: rgb(42, 38, 197); /* oklch */ color: oklch(41.3% 0.231 271.1);
Tailwind
colors: {
custom: {
50: '#8065d8',
500: '#2a26c5',
950: '#000000',
},
}SCSS
$custom: #2a26c5; $custom-light: #8065d8; $custom-dark: #000000;
JSON
{
"hex": "#2a26c5",
"rgb": {
"r": 42,
"g": 38,
"b": 197
},
"hsl": {
"h": 241.509,
"s": 67.66,
"l": 46.078
},
"oklch": {
"l": 0.41312,
"c": 0.23091,
"h": 271.1
},
"luminance": 0.0591
}Semantic roles & 50–950 ramp
primary
#2A26C5
secondary
#CDCF78
accent
#EB3DE6
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83