#2C26A5#2C26A5
#2C26A5 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.193 H 274.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C26A5 |
|---|---|
| RGB | rgb(44, 38, 165) |
| HSL | hsl(243, 63%, 40%) |
| HSV | hsv(243, 77%, 65%) |
| CMYK | cmyk(73.3%, 77%, 0%, 35.3%) |
| CIE-LAB | lab(25.68, 44.14, -66.49) |
| CIE-LCH | lch(25.68, 79.81, 303.58°) |
| OKLab | oklab(37.84% 0.0139 -0.1923) |
| OKLCH | oklch(37.84% 0.193 274.1) |
| XYZ | xyz(8.5211, 4.6375, 36.0361) |
| Luminance | 0.0464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.40
Royal
#0C1793
ΔE00 4.59
Cobalt Blue
#030AA7
ΔE00 4.99
Sapphire (survey)
#2138AB
ΔE00 5.13
Ultramarine
#2000B1
ΔE00 5.28
Royal Blue (survey)
#0504AA
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C26A5 #9FA526
analogous
#265FA5 #2C26A5 #6C26A5
triadic
#2C26A5 #A52C26 #26A52C
tetradic
#2C26A5 #A5265F #9FA526 #26A56C
square
#2C26A5 #A5265F #9FA526 #26A56C
split-complementary
#2C26A5 #A56C26 #5FA526
monochromatic
#110F42 #1F1B73 #2C26A5 #3E37D1 #6E69DC
Accessibility & contrast
On white
10.89
#2C26A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2C26A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C26A5
10.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C26A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C26A5 | 1.00 | 10.89 | 1.93 | 10.89 |
| #FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A9
Deuteranopia (green-blind)
#0037A3
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c26a5; /* rgb */ color: rgb(44, 38, 165); /* oklch */ color: oklch(37.8% 0.193 274.1);
Tailwind
colors: {
custom: {
50: '#7963c1',
500: '#2c26a5',
950: '#000000',
},
}SCSS
$custom: #2c26a5; $custom-light: #7963c1; $custom-dark: #000000;
JSON
{
"hex": "#2c26a5",
"rgb": {
"r": 44,
"g": 38,
"b": 165
},
"hsl": {
"h": 242.835,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.37836,
"c": 0.19282,
"h": 274.1
},
"luminance": 0.04638
}Semantic roles & 50–950 ramp
primary
#2C26A5
secondary
#BEC364
accent
#E642DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0512
muted
#7C7A81