#2A26AA#2A26AA
#2A26AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.199 H 273.0°. Best body text is #FFFFFF at 10.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26AA |
|---|---|
| RGB | rgb(42, 38, 170) |
| HSL | hsl(242, 63%, 41%) |
| HSV | hsv(242, 78%, 67%) |
| CMYK | cmyk(75.3%, 77.6%, 0%, 33.3%) |
| CIE-LAB | lab(26.10, 45.60, -68.81) |
| CIE-LCH | lch(26.10, 82.55, 303.53°) |
| OKLab | oklab(38.26% 0.0104 -0.1991) |
| OKLCH | oklch(38.26% 0.199 273) |
| XYZ | xyz(8.9012, 4.7798, 38.4759) |
| Luminance | 0.0478 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.20
Royal
#0C1793
ΔE00 4.95
True Blue
#010FCC
ΔE00 4.97
Cobalt Blue
#030AA7
ΔE00 4.99
Sapphire (survey)
#2138AB
ΔE00 5.01
Ultramarine
#2000B1
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26AA #A6AA26
analogous
#2664AA #2A26AA #6C26AA
triadic
#2A26AA #AA2A26 #26AA2A
tetradic
#2A26AA #AA2664 #A6AA26 #26AA6C
square
#2A26AA #AA2664 #A6AA26 #26AA6C
split-complementary
#2A26AA #AA6C26 #64AA26
monochromatic
#111046 #1E1B78 #2A26AA #3F3AD3 #706CDE
Accessibility & contrast
On white
10.74
#2A26AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2A26AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26AA
10.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26AA | 1.00 | 10.74 | 1.96 | 10.74 |
| #FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a26aa; /* rgb */ color: rgb(42, 38, 170); /* oklch */ color: oklch(38.3% 0.199 273.0);
Tailwind
colors: {
custom: {
50: '#7963c5',
500: '#2a26aa',
950: '#000000',
},
}SCSS
$custom: #2a26aa; $custom-light: #7963c5; $custom-dark: #000000;
JSON
{
"hex": "#2a26aa",
"rgb": {
"r": 42,
"g": 38,
"b": 170
},
"hsl": {
"h": 241.818,
"s": 63.462,
"l": 40.784
},
"oklch": {
"l": 0.38261,
"c": 0.1994,
"h": 273
},
"luminance": 0.04781
}Semantic roles & 50–950 ramp
primary
#2A26AA
secondary
#C2C567
accent
#E641E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82