#2C26AB#2C26AB
#2C26AB is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.200 H 273.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).
Color values
| HEX | #2C26AB |
|---|---|
| RGB | rgb(44, 38, 171) |
| HSL | hsl(243, 64%, 41%) |
| HSV | hsv(243, 78%, 67%) |
| CMYK | cmyk(74.3%, 77.8%, 0%, 32.9%) |
| CIE-LAB | lab(26.34, 46.09, -69.02) |
| CIE-LCH | lch(26.34, 83.00, 303.74°) |
| OKLab | oklab(38.49% 0.0126 -0.1997) |
| OKLCH | oklch(38.49% 0.2 273.6) |
| XYZ | xyz(9.0801, 4.8610, 38.9799) |
| Luminance | 0.0486 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.03
True Blue
#010FCC
ΔE00 4.88
Cobalt Blue
#030AA7
ΔE00 5.07
Sapphire (survey)
#2138AB
ΔE00 5.07
Ultramarine
#2000B1
ΔE00 5.12
Royal
#0C1793
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C26AB #A5AB26
analogous
#2662AB #2C26AB #6E26AB
triadic
#2C26AB #AB2C26 #26AB2C
tetradic
#2C26AB #AB2662 #A5AB26 #26AB6E
square
#2C26AB #AB2662 #A5AB26 #26AB6E
split-complementary
#2C26AB #AB6E26 #62AB26
monochromatic
#121047 #1F1B79 #2C26AB #423BD3 #726DDF
Accessibility & contrast
On white
10.65
#2C26AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2C26AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C26AB
10.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C26AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C26AB | 1.00 | 10.65 | 1.97 | 10.65 |
| #FFFFFF | 10.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.65 | 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: #2c26ab; /* rgb */ color: rgb(44, 38, 171); /* oklch */ color: oklch(38.5% 0.200 273.6);
Tailwind
colors: {
custom: {
50: '#7a63c5',
500: '#2c26ab',
950: '#000000',
},
}SCSS
$custom: #2c26ab; $custom-light: #7a63c5; $custom-dark: #000000;
JSON
{
"hex": "#2c26ab",
"rgb": {
"r": 44,
"g": 38,
"b": 171
},
"hsl": {
"h": 242.707,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.38494,
"c": 0.20008,
"h": 273.6
},
"luminance": 0.04862
}Semantic roles & 50–950 ramp
primary
#2C26AB
secondary
#C1C568
accent
#E741DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82