#2C1D88#2C1D88
#2C1D88 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.166 H 278.9°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2C1D88 |
|---|---|
| RGB | rgb(44, 29, 136) |
| HSL | hsl(248, 65%, 32%) |
| HSV | hsv(248, 79%, 53%) |
| CMYK | cmyk(67.6%, 78.7%, 0%, 46.7%) |
| CIE-LAB | lab(20.79, 39.61, -56.69) |
| CIE-LCH | lch(20.79, 69.15, 304.94°) |
| OKLab | oklab(33.47% 0.0256 -0.1637) |
| OKLCH | oklch(33.47% 0.166 278.9) |
| XYZ | xyz(5.9206, 3.1913, 23.5918) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.04
Midnight Blue
#191970
ΔE00 4.33
Indigo (survey)
#380282
ΔE00 4.67
Cobalt Blue
#030AA7
ΔE00 5.35
Darkblue
#00008B
ΔE00 5.38
Navy
#000080
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C1D88 #79881D
analogous
#1D4488 #2C1D88 #611D88
triadic
#2C1D88 #882C1D #1D882C
tetradic
#2C1D88 #881D44 #79881D #1D8861
square
#2C1D88 #881D44 #79881D #1D8861
split-complementary
#2C1D88 #88611D #44881D
monochromatic
#0B0723 #1C1256 #2C1D88 #3C28BA #5C48D8
Accessibility & contrast
On white
12.82
#2C1D88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2C1D88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C1D88
12.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C1D88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C1D88 | 1.00 | 12.82 | 1.64 | 12.82 |
| #FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00368B
Deuteranopia (green-blind)
#002E86
Tritanopia (blue-blind)
#003C52
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c1d88; /* rgb */ color: rgb(44, 29, 136); /* oklch */ color: oklch(33.5% 0.166 278.9);
Tailwind
colors: {
custom: {
50: '#735cac',
500: '#2c1d88',
950: '#000000',
},
}SCSS
$custom: #2c1d88; $custom-light: #735cac; $custom-dark: #000000;
JSON
{
"hex": "#2c1d88",
"rgb": {
"r": 44,
"g": 29,
"b": 136
},
"hsl": {
"h": 248.411,
"s": 64.848,
"l": 32.353
},
"oklch": {
"l": 0.33465,
"c": 0.16569,
"h": 278.9
},
"luminance": 0.03192
}Semantic roles & 50–950 ramp
primary
#2C1D88
secondary
#AABA47
accent
#E840D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F