#2C26B7#2C26B7
#2C26B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.214 H 272.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2C26B7 |
|---|---|
| RGB | rgb(44, 38, 183) |
| HSL | hsl(242, 66%, 43%) |
| HSV | hsv(242, 79%, 72%) |
| CMYK | cmyk(76%, 79.2%, 0%, 28.2%) |
| CIE-LAB | lab(27.68, 49.92, -73.97) |
| CIE-LCH | lch(27.68, 89.24, 304.01°) |
| OKLab | oklab(39.83% 0.01 -0.2141) |
| OKLCH | oklch(39.83% 0.214 272.7) |
| XYZ | xyz(10.2762, 5.3395, 45.2796) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.93
True Blue
#010FCC
ΔE00 3.90
Mediumblue
#0000CD
ΔE00 4.81
Ultramarine Blue
#1805DB
ΔE00 5.00
Ultramarine
#2000B1
ΔE00 5.25
Sapphire (survey)
#2138AB
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C26B7 #B1B726
analogous
#2668B7 #2C26B7 #7426B7
triadic
#2C26B7 #B72C26 #26B72C
tetradic
#2C26B7 #B72668 #B1B726 #26B774
square
#2C26B7 #B72668 #B1B726 #26B774
split-complementary
#2C26B7 #B77426 #68B726
monochromatic
#141152 #201B84 #2C26B7 #4942D8 #7A75E2
Accessibility & contrast
On white
10.15
#2C26B7 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#2C26B7 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C26B7
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C26B7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C26B7 | 1.00 | 10.15 | 2.07 | 10.15 |
| #FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB5
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2c26b7; /* rgb */ color: rgb(44, 38, 183); /* oklch */ color: oklch(39.8% 0.214 272.7);
Tailwind
colors: {
custom: {
50: '#7d64ce',
500: '#2c26b7',
950: '#000000',
},
}SCSS
$custom: #2c26b7; $custom-light: #7d64ce; $custom-dark: #000000;
JSON
{
"hex": "#2c26b7",
"rgb": {
"r": 44,
"g": 38,
"b": 183
},
"hsl": {
"h": 242.483,
"s": 65.611,
"l": 43.333
},
"oklch": {
"l": 0.3983,
"c": 0.21429,
"h": 272.7
},
"luminance": 0.05341
}Semantic roles & 50–950 ramp
primary
#2C26B7
secondary
#C6CA6F
accent
#E93FE2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0614
muted
#7D7A82