#2B26A8#2B26A8
#2B26A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.197 H 273.5°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2B26A8 |
|---|---|
| RGB | rgb(43, 38, 168) |
| HSL | hsl(242, 63%, 40%) |
| HSV | hsv(242, 77%, 66%) |
| CMYK | cmyk(74.4%, 77.4%, 0%, 34.1%) |
| CIE-LAB | lab(25.94, 45.03, -67.87) |
| CIE-LCH | lch(25.94, 81.45, 303.57°) |
| OKLab | oklab(38.1% 0.012 -0.1964) |
| OKLCH | oklch(38.1% 0.197 273.5) |
| XYZ | xyz(8.7549, 4.7261, 37.4890) |
| Luminance | 0.0473 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.25
Royal
#0C1793
ΔE00 4.81
Cobalt Blue
#030AA7
ΔE00 4.98
Sapphire (survey)
#2138AB
ΔE00 5.06
True Blue
#010FCC
ΔE00 5.18
Ultramarine
#2000B1
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B26A8 #A3A826
analogous
#2662A8 #2B26A8 #6C26A8
triadic
#2B26A8 #A82B26 #26A82B
tetradic
#2B26A8 #A82662 #A3A826 #26A86C
square
#2B26A8 #A82662 #A3A826 #26A86C
split-complementary
#2B26A8 #A86C26 #62A826
monochromatic
#110F44 #1E1B76 #2B26A8 #3F39D2 #6F6BDE
Accessibility & contrast
On white
10.79
#2B26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2B26A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B26A8
10.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B26A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B26A8 | 1.00 | 10.79 | 1.95 | 10.79 |
| #FFFFFF | 10.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.79 | 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: #2b26a8; /* rgb */ color: rgb(43, 38, 168); /* oklch */ color: oklch(38.1% 0.197 273.5);
Tailwind
colors: {
custom: {
50: '#7963c3',
500: '#2b26a8',
950: '#000000',
},
}SCSS
$custom: #2b26a8; $custom-light: #7963c3; $custom-dark: #000000;
JSON
{
"hex": "#2b26a8",
"rgb": {
"r": 43,
"g": 38,
"b": 168
},
"hsl": {
"h": 242.308,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.38101,
"c": 0.19673,
"h": 273.5
},
"luminance": 0.04727
}Semantic roles & 50–950 ramp
primary
#2B26A8
secondary
#C0C466
accent
#E642E0
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82