#2C41A1#2C41A1
#2C41A1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.0% C 0.157 H 269.1°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2C41A1 |
|---|---|
| RGB | rgb(44, 65, 161) |
| HSL | hsl(229, 57%, 40%) |
| HSV | hsv(229, 73%, 63%) |
| CMYK | cmyk(72.7%, 59.6%, 0%, 36.9%) |
| CIE-LAB | lab(31.55, 25.93, -54.43) |
| CIE-LCH | lch(31.55, 60.29, 295.48°) |
| OKLab | oklab(41.99% -0.0025 -0.157) |
| OKLCH | oklch(41.99% 0.157 269.1) |
| XYZ | xyz(9.3598, 6.8883, 34.5476) |
| Luminance | 0.0689 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.22
Cobalt
#0047AB
ΔE00 4.03
Blueberry
#464196
ΔE00 4.52
Blue Blue
#2242C7
ΔE00 5.13
Cobalt (survey)
#1E488F
ΔE00 5.19
Ocean Blue
#4F42B5
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C41A1 #A18C2C
analogous
#2C7BA1 #2C41A1 #522CA1
triadic
#2C41A1 #A12C41 #41A12C
tetradic
#2C41A1 #A12C7B #A18C2C #2CA152
square
#2C41A1 #A12C7B #A18C2C #2CA152
split-complementary
#2C41A1 #A1522C #7BA12C
monochromatic
#121A41 #1F2E71 #2C41A1 #4059CB #7082D8
Accessibility & contrast
On white
8.83
#2C41A1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#2C41A1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C41A1
8.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C41A1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C41A1 | 1.00 | 8.83 | 2.38 | 8.83 |
| #FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A4
Deuteranopia (green-blind)
#00459F
Tritanopia (blue-blind)
#00596A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c41a1; /* rgb */ color: rgb(44, 65, 161); /* oklch */ color: oklch(42.0% 0.157 269.1);
Tailwind
colors: {
custom: {
50: '#7675be',
500: '#2c41a1',
950: '#000000',
},
}SCSS
$custom: #2c41a1; $custom-light: #7675be; $custom-dark: #000000;
JSON
{
"hex": "#2c41a1",
"rgb": {
"r": 44,
"g": 65,
"b": 161
},
"hsl": {
"h": 229.231,
"s": 57.073,
"l": 40.196
},
"oklch": {
"l": 0.41987,
"c": 0.15702,
"h": 269.1
},
"luminance": 0.06889
}Semantic roles & 50–950 ramp
primary
#2C41A1
secondary
#BFB06A
accent
#C547E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81