#2B26AB#2B26AB
#2B26AB is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.200 H 273.3°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2B26AB |
|---|---|
| RGB | rgb(43, 38, 171) |
| HSL | hsl(242, 64%, 41%) |
| HSV | hsv(242, 78%, 67%) |
| CMYK | cmyk(74.9%, 77.8%, 0%, 32.9%) |
| CIE-LAB | lab(26.27, 46.01, -69.13) |
| CIE-LCH | lch(26.27, 83.04, 303.65°) |
| OKLab | oklab(38.43% 0.0114 -0.2) |
| OKLCH | oklch(38.43% 0.2 273.3) |
| XYZ | xyz(9.0376, 4.8392, 38.9779) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.09
True Blue
#010FCC
ΔE00 4.87
Sapphire (survey)
#2138AB
ΔE00 5.04
Cobalt Blue
#030AA7
ΔE00 5.04
Royal
#0C1793
ΔE00 5.09
Ultramarine
#2000B1
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B26AB #A6AB26
analogous
#2663AB #2B26AB #6D26AB
triadic
#2B26AB #AB2B26 #26AB2B
tetradic
#2B26AB #AB2663 #A6AB26 #26AB6D
square
#2B26AB #AB2663 #A6AB26 #26AB6D
split-complementary
#2B26AB #AB6D26 #63AB26
monochromatic
#121047 #1E1B79 #2B26AB #413BD3 #716DDF
Accessibility & contrast
On white
10.67
#2B26AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2B26AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B26AB
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B26AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B26AB | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AF
Deuteranopia (green-blind)
#0038A9
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2b26ab; /* rgb */ color: rgb(43, 38, 171); /* oklch */ color: oklch(38.4% 0.200 273.3);
Tailwind
colors: {
custom: {
50: '#7a63c5',
500: '#2b26ab',
950: '#000000',
},
}SCSS
$custom: #2b26ab; $custom-light: #7a63c5; $custom-dark: #000000;
JSON
{
"hex": "#2b26ab",
"rgb": {
"r": 43,
"g": 38,
"b": 171
},
"hsl": {
"h": 242.256,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.38432,
"c": 0.20034,
"h": 273.3
},
"luminance": 0.0484
}Semantic roles & 50–950 ramp
primary
#2B26AB
secondary
#C1C568
accent
#E741E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82