#2C298E#2C298E
#2C298E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.161 H 275.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #2C298E |
|---|---|
| RGB | rgb(44, 41, 142) |
| HSL | hsl(242, 55%, 36%) |
| HSV | hsv(242, 71%, 56%) |
| CMYK | cmyk(69%, 71.1%, 0%, 44.3%) |
| CIE-LAB | lab(23.91, 34.63, -55.29) |
| CIE-LCH | lch(23.91, 65.24, 302.06°) |
| OKLab | oklab(35.87% 0.0166 -0.1597) |
| OKLCH | oklch(35.87% 0.161 275.9) |
| XYZ | xyz(6.7125, 4.0737, 26.0185) |
| Luminance | 0.0407 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.63
Sapphire (survey)
#2138AB
ΔE00 5.81
Midnight Blue
#191970
ΔE00 5.87
Indigo Blue
#3A18B1
ΔE00 6.40
Darkslateblue
#483D8B
ΔE00 6.76
Cobalt Blue
#030AA7
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C298E #8B8E29
analogous
#29588E #2C298E #5E298E
triadic
#2C298E #8E2C29 #298E2C
tetradic
#2C298E #8E2958 #8B8E29 #298E5E
square
#2C298E #8E2958 #8B8E29 #298E5E
split-complementary
#2C298E #8E5E29 #588E29
monochromatic
#0F0E2F #1D1B5F #2C298E #3B37BD #6460D1
Accessibility & contrast
On white
11.57
#2C298E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2C298E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C298E
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C298E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C298E | 1.00 | 11.57 | 1.81 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D91
Deuteranopia (green-blind)
#00348C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c298e; /* rgb */ color: rgb(44, 41, 142); /* oklch */ color: oklch(35.9% 0.161 275.9);
Tailwind
colors: {
custom: {
50: '#7364b0',
500: '#2c298e',
950: '#000000',
},
}SCSS
$custom: #2c298e; $custom-light: #7364b0; $custom-dark: #000000;
JSON
{
"hex": "#2c298e",
"rgb": {
"r": 44,
"g": 41,
"b": 142
},
"hsl": {
"h": 241.782,
"s": 55.191,
"l": 35.882
},
"oklch": {
"l": 0.35868,
"c": 0.16056,
"h": 275.9
},
"luminance": 0.04074
}Semantic roles & 50–950 ramp
primary
#2C298E
secondary
#B4B75C
accent
#DF49DA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80