#2C26B1#2C26B1
#2C26B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.207 H 273.1°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C26B1 |
|---|---|
| RGB | rgb(44, 38, 177) |
| HSL | hsl(243, 65%, 42%) |
| HSV | hsv(243, 79%, 69%) |
| CMYK | cmyk(75.1%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(27.00, 48.02, -71.51) |
| CIE-LCH | lch(27.00, 86.14, 303.88°) |
| OKLab | oklab(39.16% 0.0113 -0.2069) |
| OKLCH | oklch(39.16% 0.207 273.1) |
| XYZ | xyz(9.6650, 5.0950, 42.0605) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.87
True Blue
#010FCC
ΔE00 4.33
Ultramarine
#2000B1
ΔE00 5.12
Sapphire (survey)
#2138AB
ΔE00 5.13
Mediumblue
#0000CD
ΔE00 5.17
Cobalt Blue
#030AA7
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C26B1 #ABB126
analogous
#2666B1 #2C26B1 #7226B1
triadic
#2C26B1 #B12C26 #26B12C
tetradic
#2C26B1 #B12666 #ABB126 #26B172
square
#2C26B1 #B12666 #ABB126 #26B172
split-complementary
#2C26B1 #B17226 #66B126
monochromatic
#13104C #1F1B7F #2C26B1 #453FD6 #7671E0
Accessibility & contrast
On white
10.40
#2C26B1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2C26B1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C26B1
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C26B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C26B1 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c26b1; /* rgb */ color: rgb(44, 38, 177); /* oklch */ color: oklch(39.2% 0.207 273.1);
Tailwind
colors: {
custom: {
50: '#7c63ca',
500: '#2c26b1',
950: '#000000',
},
}SCSS
$custom: #2c26b1; $custom-light: #7c63ca; $custom-dark: #000000;
JSON
{
"hex": "#2c26b1",
"rgb": {
"r": 44,
"g": 38,
"b": 177
},
"hsl": {
"h": 242.59,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.39159,
"c": 0.20724,
"h": 273.1
},
"luminance": 0.05096
}Semantic roles & 50–950 ramp
primary
#2C26B1
secondary
#C3C76B
accent
#E840E0
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82