#2A26A7#2A26A7
#2A26A7 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.9% C 0.196 H 273.2°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26A7 |
|---|---|
| RGB | rgb(42, 38, 167) |
| HSL | hsl(242, 63%, 40%) |
| HSV | hsv(242, 77%, 65%) |
| CMYK | cmyk(74.9%, 77.2%, 0%, 34.5%) |
| CIE-LAB | lab(25.77, 44.62, -67.55) |
| CIE-LCH | lch(25.77, 80.96, 303.45°) |
| OKLab | oklab(37.93% 0.011 -0.1955) |
| OKLCH | oklch(37.93% 0.196 273.2) |
| XYZ | xyz(8.6207, 4.6676, 36.9983) |
| Luminance | 0.0467 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.38
Royal
#0C1793
ΔE00 4.68
Cobalt Blue
#030AA7
ΔE00 4.95
Sapphire (survey)
#2138AB
ΔE00 5.04
Ultramarine
#2000B1
ΔE00 5.22
True Blue
#010FCC
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26A7 #A3A726
analogous
#2663A7 #2A26A7 #6A26A7
triadic
#2A26A7 #A72A26 #26A72A
tetradic
#2A26A7 #A72663 #A3A726 #26A76A
square
#2A26A7 #A72663 #A3A726 #26A76A
split-complementary
#2A26A7 #A76A26 #63A726
monochromatic
#110F43 #1D1B75 #2A26A7 #3D38D2 #6E6ADD
Accessibility & contrast
On white
10.86
#2A26A7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2A26A7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26A7
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26A7 | 1.00 | 10.86 | 1.93 | 10.86 |
| #FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0037A5
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a26a7; /* rgb */ color: rgb(42, 38, 167); /* oklch */ color: oklch(37.9% 0.196 273.2);
Tailwind
colors: {
custom: {
50: '#7963c2',
500: '#2a26a7',
950: '#000000',
},
}SCSS
$custom: #2a26a7; $custom-light: #7963c2; $custom-dark: #000000;
JSON
{
"hex": "#2a26a7",
"rgb": {
"r": 42,
"g": 38,
"b": 167
},
"hsl": {
"h": 241.86,
"s": 62.927,
"l": 40.196
},
"oklch": {
"l": 0.3793,
"c": 0.19578,
"h": 273.2
},
"luminance": 0.04668
}Semantic roles & 50–950 ramp
primary
#2A26A7
secondary
#C0C365
accent
#E642E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82