#2D26C1#2D26C1
#2D26C1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.0% C 0.226 H 272.3°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2D26C1 |
|---|---|
| RGB | rgb(45, 38, 193) |
| HSL | hsl(243, 67%, 45%) |
| HSV | hsv(243, 80%, 76%) |
| CMYK | cmyk(76.7%, 80.3%, 0%, 24.3%) |
| CIE-LAB | lab(28.88, 53.10, -77.89) |
| CIE-LCH | lch(28.88, 94.27, 304.28°) |
| OKLab | oklab(41.02% 0.0089 -0.2254) |
| OKLCH | oklch(41.02% 0.226 272.3) |
| XYZ | xyz(11.3977, 5.7931, 50.9592) |
| Luminance | 0.0579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.45
True Blue
#010FCC
ΔE00 3.54
Ultramarine Blue
#1805DB
ΔE00 4.16
Mediumblue
#0000CD
ΔE00 4.54
Pure Blue
#0203E2
ΔE00 4.60
Violet Blue
#510AC9
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D26C1 #BAC126
analogous
#266CC1 #2D26C1 #7B26C1
triadic
#2D26C1 #C12D26 #26C12D
tetradic
#2D26C1 #C1266C #BAC126 #26C17B
square
#2D26C1 #C1266C #BAC126 #26C17B
split-complementary
#2D26C1 #C17B26 #6CC126
monochromatic
#15125B #211C8E #2D26C1 #5049DB #817CE5
Accessibility & contrast
On white
9.73
#2D26C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#2D26C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2D26C1
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D26C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D26C1 | 1.00 | 9.73 | 2.16 | 9.73 |
| #FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2d26c1; /* rgb */ color: rgb(45, 38, 193); /* oklch */ color: oklch(41.0% 0.226 272.3);
Tailwind
colors: {
custom: {
50: '#8064d5',
500: '#2d26c1',
950: '#000000',
},
}SCSS
$custom: #2d26c1; $custom-light: #8064d5; $custom-dark: #000000;
JSON
{
"hex": "#2d26c1",
"rgb": {
"r": 45,
"g": 38,
"b": 193
},
"hsl": {
"h": 242.71,
"s": 67.1,
"l": 45.294
},
"oklch": {
"l": 0.41018,
"c": 0.22558,
"h": 272.3
},
"luminance": 0.05794
}Semantic roles & 50–950 ramp
primary
#2D26C1
secondary
#C9CD75
accent
#EA3EE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83