#2C2A8F#2C2A8F
#2C2A8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.161 H 275.6°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A8F |
|---|---|
| RGB | rgb(44, 42, 143) |
| HSL | hsl(241, 55%, 36%) |
| HSV | hsv(241, 71%, 56%) |
| CMYK | cmyk(69.2%, 70.6%, 0%, 43.9%) |
| CIE-LAB | lab(24.24, 34.36, -55.38) |
| CIE-LCH | lch(24.24, 65.17, 301.82°) |
| OKLab | oklab(36.13% 0.0157 -0.16) |
| OKLCH | oklch(36.13% 0.161 275.6) |
| XYZ | xyz(6.8230, 4.1740, 26.4274) |
| Luminance | 0.0418 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.83
Sapphire (survey)
#2138AB
ΔE00 5.53
Midnight Blue
#191970
ΔE00 6.12
Indigo Blue
#3A18B1
ΔE00 6.44
Darkslateblue
#483D8B
ΔE00 6.60
Blueberry
#464196
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A8F #8D8F2A
analogous
#2A5B8F #2C2A8F #5F2A8F
triadic
#2C2A8F #8F2C2A #2A8F2C
tetradic
#2C2A8F #8F2A5B #8D8F2A #2A8F5F
square
#2C2A8F #8F2A5B #8D8F2A #2A8F5F
split-complementary
#2C2A8F #8F5F2A #5B8F2A
monochromatic
#0F0E30 #1D1C60 #2C2A8F #3B38BE #6562D1
Accessibility & contrast
On white
11.44
#2C2A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C2A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A8F
11.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A8F | 1.00 | 11.44 | 1.84 | 11.44 |
| #FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2a8f; /* rgb */ color: rgb(44, 42, 143); /* oklch */ color: oklch(36.1% 0.161 275.6);
Tailwind
colors: {
custom: {
50: '#7364b1',
500: '#2c2a8f',
950: '#000000',
},
}SCSS
$custom: #2c2a8f; $custom-light: #7364b1; $custom-dark: #000000;
JSON
{
"hex": "#2c2a8f",
"rgb": {
"r": 44,
"g": 42,
"b": 143
},
"hsl": {
"h": 241.188,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.36131,
"c": 0.16073,
"h": 275.6
},
"luminance": 0.04175
}Semantic roles & 50–950 ramp
primary
#2C2A8F
secondary
#B5B75E
accent
#DE4ADB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80