#2C26A8#2C26A8
#2C26A8 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.2% C 0.196 H 273.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C26A8 |
|---|---|
| RGB | rgb(44, 38, 168) |
| HSL | hsl(243, 63%, 40%) |
| HSV | hsv(243, 77%, 66%) |
| CMYK | cmyk(73.8%, 77.4%, 0%, 34.1%) |
| CIE-LAB | lab(26.00, 45.12, -67.76) |
| CIE-LCH | lch(26.00, 81.41, 303.66°) |
| OKLab | oklab(38.16% 0.0133 -0.196) |
| OKLCH | oklch(38.16% 0.196 273.9) |
| XYZ | xyz(8.7974, 4.7480, 37.4910) |
| Luminance | 0.0475 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.19
Royal
#0C1793
ΔE00 4.85
Cobalt Blue
#030AA7
ΔE00 5.01
Sapphire (survey)
#2138AB
ΔE00 5.09
Ultramarine
#2000B1
ΔE00 5.18
True Blue
#010FCC
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C26A8 #A2A826
analogous
#2661A8 #2C26A8 #6D26A8
triadic
#2C26A8 #A82C26 #26A82C
tetradic
#2C26A8 #A82661 #A2A826 #26A86D
square
#2C26A8 #A82661 #A2A826 #26A86D
split-complementary
#2C26A8 #A86D26 #61A826
monochromatic
#120F44 #1F1B76 #2C26A8 #4039D2 #706BDE
Accessibility & contrast
On white
10.77
#2C26A8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#2C26A8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C26A8
10.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C26A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C26A8 | 1.00 | 10.77 | 1.95 | 10.77 |
| #FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044AC
Deuteranopia (green-blind)
#0037A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2c26a8; /* rgb */ color: rgb(44, 38, 168); /* oklch */ color: oklch(38.2% 0.196 273.9);
Tailwind
colors: {
custom: {
50: '#7a63c3',
500: '#2c26a8',
950: '#000000',
},
}SCSS
$custom: #2c26a8; $custom-light: #7a63c3; $custom-dark: #000000;
JSON
{
"hex": "#2c26a8",
"rgb": {
"r": 44,
"g": 38,
"b": 168
},
"hsl": {
"h": 242.769,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.38164,
"c": 0.19647,
"h": 273.9
},
"luminance": 0.04749
}Semantic roles & 50–950 ramp
primary
#2C26A8
secondary
#BFC466
accent
#E642DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82