#2A26A8#2A26A8
#2A26A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.0% C 0.197 H 273.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2A26A8 |
|---|---|
| RGB | rgb(42, 38, 168) |
| HSL | hsl(242, 63%, 40%) |
| HSV | hsv(242, 77%, 66%) |
| CMYK | cmyk(75%, 77.4%, 0%, 34.1%) |
| CIE-LAB | lab(25.88, 44.95, -67.97) |
| CIE-LCH | lch(25.88, 81.49, 303.48°) |
| OKLab | oklab(38.04% 0.0108 -0.1967) |
| OKLCH | oklch(38.04% 0.197 273.1) |
| XYZ | xyz(8.7135, 4.7047, 37.4871) |
| Luminance | 0.0471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.31
Royal
#0C1793
ΔE00 4.77
Cobalt Blue
#030AA7
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 5.03
True Blue
#010FCC
ΔE00 5.18
Ultramarine
#2000B1
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A26A8 #A4A826
analogous
#2663A8 #2A26A8 #6B26A8
triadic
#2A26A8 #A82A26 #26A82A
tetradic
#2A26A8 #A82663 #A4A826 #26A86B
square
#2A26A8 #A82663 #A4A826 #26A86B
split-complementary
#2A26A8 #A86B26 #63A826
monochromatic
#110F44 #1E1B76 #2A26A8 #3E39D2 #6E6BDE
Accessibility & contrast
On white
10.82
#2A26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2A26A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A26A8
10.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A26A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A26A8 | 1.00 | 10.82 | 1.94 | 10.82 |
| #FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a26a8; /* rgb */ color: rgb(42, 38, 168); /* oklch */ color: oklch(38.0% 0.197 273.1);
Tailwind
colors: {
custom: {
50: '#7963c3',
500: '#2a26a8',
950: '#000000',
},
}SCSS
$custom: #2a26a8; $custom-light: #7963c3; $custom-dark: #000000;
JSON
{
"hex": "#2a26a8",
"rgb": {
"r": 42,
"g": 38,
"b": 168
},
"hsl": {
"h": 241.846,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.3804,
"c": 0.19699,
"h": 273.1
},
"luminance": 0.04706
}Semantic roles & 50–950 ramp
primary
#2A26A8
secondary
#C1C466
accent
#E642E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82