#2B26AA#2B26AA
#2B26AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.199 H 273.3°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2B26AA |
|---|---|
| RGB | rgb(43, 38, 170) |
| HSL | hsl(242, 63%, 41%) |
| HSV | hsv(242, 78%, 67%) |
| CMYK | cmyk(74.7%, 77.6%, 0%, 33.3%) |
| CIE-LAB | lab(26.16, 45.68, -68.71) |
| CIE-LCH | lch(26.16, 82.51, 303.62°) |
| OKLab | oklab(38.32% 0.0116 -0.1988) |
| OKLCH | oklch(38.32% 0.199 273.3) |
| XYZ | xyz(8.9427, 4.8012, 38.4778) |
| Luminance | 0.0480 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.14
True Blue
#010FCC
ΔE00 4.97
Royal
#0C1793
ΔE00 4.99
Cobalt Blue
#030AA7
ΔE00 5.02
Sapphire (survey)
#2138AB
ΔE00 5.04
Ultramarine
#2000B1
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B26AA #A5AA26
analogous
#2663AA #2B26AA #6D26AA
triadic
#2B26AA #AA2B26 #26AA2B
tetradic
#2B26AA #AA2663 #A5AA26 #26AA6D
square
#2B26AA #AA2663 #A5AA26 #26AA6D
split-complementary
#2B26AA #AA6D26 #63AA26
monochromatic
#121046 #1E1B78 #2B26AA #403AD3 #716CDE
Accessibility & contrast
On white
10.71
#2B26AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.96
#2B26AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B26AA
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B26AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B26AA | 1.00 | 10.71 | 1.96 | 10.71 |
| #FFFFFF | 10.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.71 | 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: #2b26aa; /* rgb */ color: rgb(43, 38, 170); /* oklch */ color: oklch(38.3% 0.199 273.3);
Tailwind
colors: {
custom: {
50: '#7a63c5',
500: '#2b26aa',
950: '#000000',
},
}SCSS
$custom: #2b26aa; $custom-light: #7a63c5; $custom-dark: #000000;
JSON
{
"hex": "#2b26aa",
"rgb": {
"r": 43,
"g": 38,
"b": 170
},
"hsl": {
"h": 242.273,
"s": 63.462,
"l": 40.784
},
"oklch": {
"l": 0.38322,
"c": 0.19914,
"h": 273.3
},
"luminance": 0.04802
}Semantic roles & 50–950 ramp
primary
#2B26AA
secondary
#C1C567
accent
#E641E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82