#2C2A86#2C2A86
#2C2A86 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.149 H 276.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A86 |
|---|---|
| RGB | rgb(44, 42, 134) |
| HSL | hsl(241, 52%, 35%) |
| HSV | hsv(241, 69%, 53%) |
| CMYK | cmyk(67.2%, 68.7%, 0%, 47.5%) |
| CIE-LAB | lab(23.38, 31.19, -51.18) |
| CIE-LCH | lch(23.38, 59.94, 301.36°) |
| OKLab | oklab(35.25% 0.0169 -0.1477) |
| OKLCH | oklch(35.25% 0.149 276.5) |
| XYZ | xyz(6.1683, 3.9121, 22.9797) |
| Luminance | 0.0391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.29
Royal
#0C1793
ΔE00 5.40
Darkslateblue
#483D8B
ΔE00 6.38
Sapphire (survey)
#2138AB
ΔE00 6.50
Blueberry
#464196
ΔE00 7.07
Indigo Blue
#3A18B1
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A86 #84862A
analogous
#2A5686 #2C2A86 #5A2A86
triadic
#2C2A86 #862C2A #2A862C
tetradic
#2C2A86 #862A56 #84862A #2A865A
square
#2C2A86 #862A56 #84862A #2A865A
split-complementary
#2C2A86 #865A2A #56862A
monochromatic
#0D0D29 #1D1B57 #2C2A86 #3B39B5 #605ECD
Accessibility & contrast
On white
11.78
#2C2A86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#2C2A86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A86
11.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A86 | 1.00 | 11.78 | 1.78 | 11.78 |
| #FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #2c2a86; /* rgb */ color: rgb(44, 42, 134); /* oklch */ color: oklch(35.2% 0.149 276.5);
Tailwind
colors: {
custom: {
50: '#7164aa',
500: '#2c2a86',
950: '#000000',
},
}SCSS
$custom: #2c2a86; $custom-light: #7164aa; $custom-dark: #000000;
JSON
{
"hex": "#2c2a86",
"rgb": {
"r": 44,
"g": 42,
"b": 134
},
"hsl": {
"h": 241.304,
"s": 52.273,
"l": 34.51
},
"oklch": {
"l": 0.35247,
"c": 0.14864,
"h": 276.5
},
"luminance": 0.03913
}Semantic roles & 50–950 ramp
primary
#2C2A86
secondary
#B0B25A
accent
#DC4CD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F