#2C298F#2C298F
#2C298F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.162 H 275.8°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2C298F |
|---|---|
| RGB | rgb(44, 41, 143) |
| HSL | hsl(242, 55%, 36%) |
| HSV | hsv(242, 71%, 56%) |
| CMYK | cmyk(69.2%, 71.3%, 0%, 43.9%) |
| CIE-LAB | lab(24.01, 34.98, -55.75) |
| CIE-LCH | lch(24.01, 65.82, 302.10°) |
| OKLab | oklab(35.97% 0.0164 -0.161) |
| OKLCH | oklch(35.97% 0.162 275.8) |
| XYZ | xyz(6.7879, 4.1039, 26.4157) |
| Luminance | 0.0411 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.59
Sapphire (survey)
#2138AB
ΔE00 5.71
Midnight Blue
#191970
ΔE00 5.98
Indigo Blue
#3A18B1
ΔE00 6.27
Cobalt Blue
#030AA7
ΔE00 6.70
Darkslateblue
#483D8B
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C298F #8C8F29
analogous
#29598F #2C298F #5F298F
triadic
#2C298F #8F2C29 #298F2C
tetradic
#2C298F #8F2959 #8C8F29 #298F5F
square
#2C298F #8F2959 #8C8F29 #298F5F
split-complementary
#2C298F #8F5F29 #598F29
monochromatic
#0F0E30 #1D1B5F #2C298F #3B37BF #6461D2
Accessibility & contrast
On white
11.53
#2C298F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#2C298F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C298F
11.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C298F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C298F | 1.00 | 11.53 | 1.82 | 11.53 |
| #FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c298f; /* rgb */ color: rgb(44, 41, 143); /* oklch */ color: oklch(36.0% 0.162 275.8);
Tailwind
colors: {
custom: {
50: '#7364b1',
500: '#2c298f',
950: '#000000',
},
}SCSS
$custom: #2c298f; $custom-light: #7364b1; $custom-dark: #000000;
JSON
{
"hex": "#2c298f",
"rgb": {
"r": 44,
"g": 41,
"b": 143
},
"hsl": {
"h": 241.765,
"s": 55.435,
"l": 36.078
},
"oklch": {
"l": 0.35968,
"c": 0.16187,
"h": 275.8
},
"luminance": 0.04105
}Semantic roles & 50–950 ramp
primary
#2C298F
secondary
#B5B75C
accent
#DF49DA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80