#2C41A2#2C41A2
#2C41A2 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.1% C 0.158 H 269.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C41A2 |
|---|---|
| RGB | rgb(44, 65, 162) |
| HSL | hsl(229, 57%, 40%) |
| HSV | hsv(229, 73%, 64%) |
| CMYK | cmyk(72.8%, 59.9%, 0%, 36.5%) |
| CIE-LAB | lab(31.63, 26.31, -54.90) |
| CIE-LCH | lch(31.63, 60.87, 295.60°) |
| OKLab | oklab(42.07% -0.0025 -0.1584) |
| OKLCH | oklch(42.07% 0.158 269.1) |
| XYZ | xyz(9.4483, 6.9237, 35.0139) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.13
Cobalt
#0047AB
ΔE00 4.03
Blueberry
#464196
ΔE00 4.55
Blue Blue
#2242C7
ΔE00 4.99
Cobalt (survey)
#1E488F
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C41A2 #A28D2C
analogous
#2C7CA2 #2C41A2 #522CA2
triadic
#2C41A2 #A22C41 #41A22C
tetradic
#2C41A2 #A22C7C #A28D2C #2CA252
square
#2C41A2 #A22C7C #A28D2C #2CA252
split-complementary
#2C41A2 #A2522C #7CA22C
monochromatic
#121A42 #1F2E72 #2C41A2 #4059CB #7083D8
Accessibility & contrast
On white
8.81
#2C41A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#2C41A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C41A2
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C41A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C41A2 | 1.00 | 8.81 | 2.39 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#0045A0
Tritanopia (blue-blind)
#00596B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c41a2; /* rgb */ color: rgb(44, 65, 162); /* oklch */ color: oklch(42.1% 0.158 269.1);
Tailwind
colors: {
custom: {
50: '#7675be',
500: '#2c41a2',
950: '#000000',
},
}SCSS
$custom: #2c41a2; $custom-light: #7675be; $custom-dark: #000000;
JSON
{
"hex": "#2c41a2",
"rgb": {
"r": 44,
"g": 65,
"b": 162
},
"hsl": {
"h": 229.322,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.42073,
"c": 0.1584,
"h": 269.1
},
"luminance": 0.06925
}Semantic roles & 50–950 ramp
primary
#2C41A2
secondary
#BFB06A
accent
#C547E1
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81