#2C41A4#2C41A4
#2C41A4 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.2% C 0.161 H 269.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).
Color values
| HEX | #2C41A4 |
|---|---|
| RGB | rgb(44, 65, 164) |
| HSL | hsl(230, 58%, 41%) |
| HSV | hsv(230, 73%, 64%) |
| CMYK | cmyk(73.2%, 60.4%, 0%, 35.7%) |
| CIE-LAB | lab(31.80, 27.06, -55.83) |
| CIE-LCH | lch(31.80, 62.04, 295.85°) |
| OKLab | oklab(42.25% -0.0025 -0.1611) |
| OKLCH | oklch(42.25% 0.161 269.1) |
| XYZ | xyz(9.6275, 6.9954, 35.9576) |
| Luminance | 0.0700 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.98
Cobalt
#0047AB
ΔE00 4.03
Blueberry
#464196
ΔE00 4.63
Blue Blue
#2242C7
ΔE00 4.70
Cobalt (survey)
#1E488F
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C41A4 #A48F2C
analogous
#2C7DA4 #2C41A4 #532CA4
triadic
#2C41A4 #A42C41 #41A42C
tetradic
#2C41A4 #A42C7D #A48F2C #2CA453
square
#2C41A4 #A42C7D #A48F2C #2CA453
split-complementary
#2C41A4 #A4532C #7DA42C
monochromatic
#121B43 #1F2E74 #2C41A4 #4159CC #7184D9
Accessibility & contrast
On white
8.75
#2C41A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#2C41A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C41A4
8.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C41A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C41A4 | 1.00 | 8.75 | 2.40 | 8.75 |
| #FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0045A2
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c41a4; /* rgb */ color: rgb(44, 65, 164); /* oklch */ color: oklch(42.2% 0.161 269.1);
Tailwind
colors: {
custom: {
50: '#7675c0',
500: '#2c41a4',
950: '#000000',
},
}SCSS
$custom: #2c41a4; $custom-light: #7675c0; $custom-dark: #000000;
JSON
{
"hex": "#2c41a4",
"rgb": {
"r": 44,
"g": 65,
"b": 164
},
"hsl": {
"h": 229.5,
"s": 57.692,
"l": 40.784
},
"oklch": {
"l": 0.42246,
"c": 0.16116,
"h": 269.1
},
"luminance": 0.06996
}Semantic roles & 50–950 ramp
primary
#2C41A4
secondary
#C0B16B
accent
#C647E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81