#2C419E#2C419E
#2C419E is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.7% C 0.153 H 269.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C419E |
|---|---|
| RGB | rgb(44, 65, 158) |
| HSL | hsl(229, 56%, 40%) |
| HSV | hsv(229, 72%, 62%) |
| CMYK | cmyk(72.2%, 58.9%, 0%, 38%) |
| CIE-LAB | lab(31.31, 24.80, -53.01) |
| CIE-LCH | lch(31.31, 58.52, 295.08°) |
| OKLab | oklab(41.73% -0.0025 -0.1528) |
| OKLCH | oklch(41.73% 0.153 269) |
| XYZ | xyz(9.0984, 6.7838, 33.1710) |
| Luminance | 0.0678 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.51
Cobalt
#0047AB
ΔE00 4.09
Blueberry
#464196
ΔE00 4.46
Cobalt (survey)
#1E488F
ΔE00 4.90
Blue Blue
#2242C7
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C419E #9E892C
analogous
#2C7A9E #2C419E #502C9E
triadic
#2C419E #9E2C41 #419E2C
tetradic
#2C419E #9E2C7A #9E892C #2C9E50
square
#2C419E #9E2C7A #9E892C #2C9E50
split-complementary
#2C419E #9E502C #7A9E2C
monochromatic
#111A3E #1F2D6E #2C419E #3E58C9 #6E81D7
Accessibility & contrast
On white
8.91
#2C419E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2C419E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C419E
8.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C419E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C419E | 1.00 | 8.91 | 2.36 | 8.91 |
| #FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#00459C
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c419e; /* rgb */ color: rgb(44, 65, 158); /* oklch */ color: oklch(41.7% 0.153 269.0);
Tailwind
colors: {
custom: {
50: '#7575bb',
500: '#2c419e',
950: '#000000',
},
}SCSS
$custom: #2c419e; $custom-light: #7575bb; $custom-dark: #000000;
JSON
{
"hex": "#2c419e",
"rgb": {
"r": 44,
"g": 65,
"b": 158
},
"hsl": {
"h": 228.947,
"s": 56.436,
"l": 39.608
},
"oklch": {
"l": 0.41731,
"c": 0.15285,
"h": 269
},
"luminance": 0.06785
}Semantic roles & 50–950 ramp
primary
#2C419E
secondary
#BEAE68
accent
#C448E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81