#2C41AF#2C41AF
#2C41AF is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.2% C 0.176 H 269.2°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2C41AF |
|---|---|
| RGB | rgb(44, 65, 175) |
| HSL | hsl(230, 60%, 43%) |
| HSV | hsv(230, 75%, 69%) |
| CMYK | cmyk(74.9%, 62.9%, 0%, 31.4%) |
| CIE-LAB | lab(32.72, 31.14, -60.91) |
| CIE-LCH | lch(32.72, 68.41, 297.08°) |
| OKLab | oklab(43.22% -0.0026 -0.176) |
| OKLCH | oklch(43.22% 0.176 269.2) |
| XYZ | xyz(10.6642, 7.4101, 41.4174) |
| Luminance | 0.0741 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.66
Blue Blue
#2242C7
ΔE00 3.14
Cobalt
#0047AB
ΔE00 4.38
Ocean Blue
#4F42B5
ΔE00 4.94
Blueberry
#464196
ΔE00 5.30
Blue (survey)
#0343DF
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C41AF #AF9A2C
analogous
#2C82AF #2C41AF #592CAF
triadic
#2C41AF #AF2C41 #41AF2C
tetradic
#2C41AF #AF2C82 #AF9A2C #2CAF59
square
#2C41AF #AF2C82 #AF9A2C #2CAF59
split-complementary
#2C41AF #AF592C #82AF2C
monochromatic
#131D4D #202F7E #2C41AF #475DD1 #7888DD
Accessibility & contrast
On white
8.46
#2C41AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#2C41AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C41AF
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C41AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C41AF | 1.00 | 8.46 | 2.48 | 8.46 |
| #FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0047AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #2c41af; /* rgb */ color: rgb(44, 65, 175); /* oklch */ color: oklch(43.2% 0.176 269.2);
Tailwind
colors: {
custom: {
50: '#7975c8',
500: '#2c41af',
950: '#000000',
},
}SCSS
$custom: #2c41af; $custom-light: #7975c8; $custom-dark: #000000;
JSON
{
"hex": "#2c41af",
"rgb": {
"r": 44,
"g": 65,
"b": 175
},
"hsl": {
"h": 230.382,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.4322,
"c": 0.17604,
"h": 269.2
},
"luminance": 0.07411
}Semantic roles & 50–950 ramp
primary
#2C41AF
secondary
#C5B872
accent
#CA45E3
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82