#2C41A6#2C41A6
#2C41A6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.4% C 0.164 H 269.1°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C41A6 |
|---|---|
| RGB | rgb(44, 65, 166) |
| HSL | hsl(230, 58%, 41%) |
| HSV | hsv(230, 73%, 65%) |
| CMYK | cmyk(73.5%, 60.8%, 0%, 34.9%) |
| CIE-LAB | lab(31.96, 27.80, -56.77) |
| CIE-LCH | lch(31.96, 63.21, 296.09°) |
| OKLab | oklab(42.42% -0.0025 -0.1639) |
| OKLCH | oklch(42.42% 0.164 269.1) |
| XYZ | xyz(9.8096, 7.0682, 36.9163) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.85
Cobalt
#0047AB
ΔE00 4.05
Blue Blue
#2242C7
ΔE00 4.41
Blueberry
#464196
ΔE00 4.72
Ocean Blue
#4F42B5
ΔE00 5.64
Cobalt (survey)
#1E488F
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C41A6 #A6912C
analogous
#2C7EA6 #2C41A6 #542CA6
triadic
#2C41A6 #A62C41 #41A62C
tetradic
#2C41A6 #A62C7E #A6912C #2CA654
square
#2C41A6 #A62C7E #A6912C #2CA654
split-complementary
#2C41A6 #A6542C #7EA62C
monochromatic
#121B45 #1F2E76 #2C41A6 #425ACD #7384DA
Accessibility & contrast
On white
8.70
#2C41A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#2C41A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C41A6
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C41A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C41A6 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0051A9
Deuteranopia (green-blind)
#0046A4
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #2c41a6; /* rgb */ color: rgb(44, 65, 166); /* oklch */ color: oklch(42.4% 0.164 269.1);
Tailwind
colors: {
custom: {
50: '#7775c1',
500: '#2c41a6',
950: '#000000',
},
}SCSS
$custom: #2c41a6; $custom-light: #7775c1; $custom-dark: #000000;
JSON
{
"hex": "#2c41a6",
"rgb": {
"r": 44,
"g": 65,
"b": 166
},
"hsl": {
"h": 229.672,
"s": 58.095,
"l": 41.176
},
"oklch": {
"l": 0.42421,
"c": 0.1639,
"h": 269.1
},
"luminance": 0.07069
}Semantic roles & 50–950 ramp
primary
#2C41A6
secondary
#C1B36D
accent
#C746E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81