#2C2DA4#2C2DA4
#2C2DA4 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.185 H 273.3°. Best body text is #FFFFFF at 10.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2DA4 |
|---|---|
| RGB | rgb(44, 45, 164) |
| HSL | hsl(240, 58%, 41%) |
| HSV | hsv(240, 73%, 64%) |
| CMYK | cmyk(73.2%, 72.6%, 0%, 35.7%) |
| CIE-LAB | lab(26.99, 39.80, -63.71) |
| CIE-LCH | lch(26.99, 75.12, 302.00°) |
| OKLab | oklab(38.74% 0.0106 -0.1843) |
| OKLCH | oklch(38.74% 0.185 273.3) |
| XYZ | xyz(8.6757, 5.0917, 35.6403) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Indigo Blue
#3A18B1
ΔE00 4.89
Royal
#0C1793
ΔE00 5.77
Cobalt Blue
#030AA7
ΔE00 6.58
True Blue
#010FCC
ΔE00 6.64
Blueberry
#464196
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2DA4 #A4A32C
analogous
#2C69A4 #2C2DA4 #672CA4
triadic
#2C2DA4 #A42C2D #2DA42C
tetradic
#2C2DA4 #A42C69 #A4A32C #2CA467
square
#2C2DA4 #A42C69 #A4A32C #2CA467
split-complementary
#2C2DA4 #A4672C #69A42C
monochromatic
#121343 #1F2074 #2C2DA4 #4142CC #7172D9
Accessibility & contrast
On white
10.40
#2C2DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2C2DA4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2DA4
10.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2DA4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2DA4 | 1.00 | 10.40 | 2.02 | 10.40 |
| #FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A8
Deuteranopia (green-blind)
#003AA2
Tritanopia (blue-blind)
#004F65
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2c2da4; /* rgb */ color: rgb(44, 45, 164); /* oklch */ color: oklch(38.7% 0.185 273.3);
Tailwind
colors: {
custom: {
50: '#7867c0',
500: '#2c2da4',
950: '#000000',
},
}SCSS
$custom: #2c2da4; $custom-light: #7867c0; $custom-dark: #000000;
JSON
{
"hex": "#2c2da4",
"rgb": {
"r": 44,
"g": 45,
"b": 164
},
"hsl": {
"h": 239.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.3874,
"c": 0.18458,
"h": 273.3
},
"luminance": 0.05093
}Semantic roles & 50–950 ramp
primary
#2C2DA4
secondary
#C0C06B
accent
#E047E1
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0612
muted
#7C7A81