#2A26A9#2A26A9
#2A26A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.2% C 0.198 H 273.1°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26A9 |
|---|---|
| RGB | rgb(42, 38, 169) |
| HSL | hsl(242, 63%, 41%) |
| HSV | hsv(242, 78%, 66%) |
| CMYK | cmyk(75.1%, 77.5%, 0%, 33.7%) |
| CIE-LAB | lab(25.99, 45.28, -68.39) |
| CIE-LCH | lch(25.99, 82.02, 303.50°) |
| OKLab | oklab(38.15% 0.0106 -0.1979) |
| OKLCH | oklch(38.15% 0.198 273.1) |
| XYZ | xyz(8.8070, 4.7421, 37.9796) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.25
Royal
#0C1793
ΔE00 4.86
Cobalt Blue
#030AA7
ΔE00 4.97
Sapphire (survey)
#2138AB
ΔE00 5.02
True Blue
#010FCC
ΔE00 5.07
Ultramarine
#2000B1
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26A9 #A5A926
analogous
#2663A9 #2A26A9 #6B26A9
triadic
#2A26A9 #A92A26 #26A92A
tetradic
#2A26A9 #A92663 #A5A926 #26A96B
square
#2A26A9 #A92663 #A5A926 #26A96B
split-complementary
#2A26A9 #A96B26 #63A926
monochromatic
#111045 #1E1B77 #2A26A9 #3E3AD3 #6F6CDE
Accessibility & contrast
On white
10.78
#2A26A9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2A26A9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26A9
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26A9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26A9 | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a26a9; /* rgb */ color: rgb(42, 38, 169); /* oklch */ color: oklch(38.2% 0.198 273.1);
Tailwind
colors: {
custom: {
50: '#7963c4',
500: '#2a26a9',
950: '#000000',
},
}SCSS
$custom: #2a26a9; $custom-light: #7963c4; $custom-dark: #000000;
JSON
{
"hex": "#2a26a9",
"rgb": {
"r": 42,
"g": 38,
"b": 169
},
"hsl": {
"h": 241.832,
"s": 63.285,
"l": 40.588
},
"oklch": {
"l": 0.38151,
"c": 0.19819,
"h": 273.1
},
"luminance": 0.04743
}Semantic roles & 50–950 ramp
primary
#2A26A9
secondary
#C1C467
accent
#E641E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82