#2C419D#2C419D
#2C419D is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.6% C 0.151 H 269.0°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C419D |
|---|---|
| RGB | rgb(44, 65, 157) |
| HSL | hsl(229, 56%, 39%) |
| HSV | hsv(229, 72%, 62%) |
| CMYK | cmyk(72%, 58.6%, 0%, 38.4%) |
| CIE-LAB | lab(31.23, 24.43, -52.53) |
| CIE-LCH | lch(31.23, 57.93, 294.94°) |
| OKLab | oklab(41.65% -0.0026 -0.1514) |
| OKLCH | oklch(41.65% 0.151 269) |
| XYZ | xyz(9.0127, 6.7495, 32.7195) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.62
Cobalt
#0047AB
ΔE00 4.12
Blueberry
#464196
ΔE00 4.45
Cobalt (survey)
#1E488F
ΔE00 4.81
Blue Blue
#2242C7
ΔE00 5.72
Darkslateblue
#483D8B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C419D #9D882C
analogous
#2C799D #2C419D #502C9D
triadic
#2C419D #9D2C41 #419D2C
tetradic
#2C419D #9D2C79 #9D882C #2C9D50
square
#2C419D #9D2C79 #9D882C #2C9D50
split-complementary
#2C419D #9D502C #799D2C
monochromatic
#11193D #1F2D6D #2C419D #3D57C9 #6D81D6
Accessibility & contrast
On white
8.94
#2C419D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#2C419D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C419D
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C419D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C419D | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#00449B
Tritanopia (blue-blind)
#005868
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2c419d; /* rgb */ color: rgb(44, 65, 157); /* oklch */ color: oklch(41.6% 0.151 269.0);
Tailwind
colors: {
custom: {
50: '#7575bb',
500: '#2c419d',
950: '#000000',
},
}SCSS
$custom: #2c419d; $custom-light: #7575bb; $custom-dark: #000000;
JSON
{
"hex": "#2c419d",
"rgb": {
"r": 44,
"g": 65,
"b": 157
},
"hsl": {
"h": 228.85,
"s": 56.219,
"l": 39.412
},
"oklch": {
"l": 0.41646,
"c": 0.15145,
"h": 269
},
"luminance": 0.0675
}Semantic roles & 50–950 ramp
primary
#2C419D
secondary
#BDAD68
accent
#C348E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81