#2C419F#2C419F
#2C419F is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.8% C 0.154 H 269.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2C419F |
|---|---|
| RGB | rgb(44, 65, 159) |
| HSL | hsl(229, 57%, 40%) |
| HSV | hsv(229, 72%, 62%) |
| CMYK | cmyk(72.3%, 59.1%, 0%, 37.6%) |
| CIE-LAB | lab(31.39, 25.18, -53.48) |
| CIE-LCH | lch(31.39, 59.11, 295.21°) |
| OKLab | oklab(41.82% -0.0025 -0.1542) |
| OKLCH | oklch(41.82% 0.154 269.1) |
| XYZ | xyz(9.1849, 6.8183, 33.6262) |
| Luminance | 0.0682 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.41
Cobalt
#0047AB
ΔE00 4.06
Blueberry
#464196
ΔE00 4.47
Cobalt (survey)
#1E488F
ΔE00 5.00
Blue Blue
#2242C7
ΔE00 5.43
Darkslateblue
#483D8B
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C419F #9F8A2C
analogous
#2C7B9F #2C419F #502C9F
triadic
#2C419F #9F2C41 #419F2C
tetradic
#2C419F #9F2C7B #9F8A2C #2C9F50
square
#2C419F #9F2C7B #9F8A2C #2C9F50
split-complementary
#2C419F #9F502C #7B9F2C
monochromatic
#111A3F #1F2D6F #2C419F #3E58CA #6E82D7
Accessibility & contrast
On white
8.88
#2C419F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.36
#2C419F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C419F
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C419F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C419F | 1.00 | 8.88 | 2.36 | 8.88 |
| #FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FA2
Deuteranopia (green-blind)
#00459D
Tritanopia (blue-blind)
#005869
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #2c419f; /* rgb */ color: rgb(44, 65, 159); /* oklch */ color: oklch(41.8% 0.154 269.1);
Tailwind
colors: {
custom: {
50: '#7575bc',
500: '#2c419f',
950: '#000000',
},
}SCSS
$custom: #2c419f; $custom-light: #7575bc; $custom-dark: #000000;
JSON
{
"hex": "#2c419f",
"rgb": {
"r": 44,
"g": 65,
"b": 159
},
"hsl": {
"h": 229.043,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.41816,
"c": 0.15424,
"h": 269.1
},
"luminance": 0.06819
}Semantic roles & 50–950 ramp
primary
#2C419F
secondary
#BEAE69
accent
#C448E0
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090812
muted
#7B7B81