#2C298D#2C298D
#2C298D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.8% C 0.159 H 276.0°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2C298D |
|---|---|
| RGB | rgb(44, 41, 141) |
| HSL | hsl(242, 55%, 36%) |
| HSV | hsv(242, 71%, 55%) |
| CMYK | cmyk(68.8%, 70.9%, 0%, 44.7%) |
| CIE-LAB | lab(23.82, 34.28, -54.83) |
| CIE-LCH | lch(23.82, 64.67, 302.02°) |
| OKLab | oklab(35.77% 0.0167 -0.1584) |
| OKLCH | oklch(35.77% 0.159 276) |
| XYZ | xyz(6.6378, 4.0438, 25.6249) |
| Luminance | 0.0404 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.68
Midnight Blue
#191970
ΔE00 5.76
Sapphire (survey)
#2138AB
ΔE00 5.91
Indigo Blue
#3A18B1
ΔE00 6.53
Darkslateblue
#483D8B
ΔE00 6.73
Cobalt Blue
#030AA7
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C298D #8A8D29
analogous
#29588D #2C298D #5E298D
triadic
#2C298D #8D2C29 #298D2C
tetradic
#2C298D #8D2958 #8A8D29 #298D5E
square
#2C298D #8D2958 #8A8D29 #298D5E
split-complementary
#2C298D #8D5E29 #588D29
monochromatic
#0E0D2E #1D1B5E #2C298D #3B37BC #6360D1
Accessibility & contrast
On white
11.61
#2C298D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.81
#2C298D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C298D
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C298D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C298D | 1.00 | 11.61 | 1.81 | 11.61 |
| #FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #2c298d; /* rgb */ color: rgb(44, 41, 141); /* oklch */ color: oklch(35.8% 0.159 276.0);
Tailwind
colors: {
custom: {
50: '#7363af',
500: '#2c298d',
950: '#000000',
},
}SCSS
$custom: #2c298d; $custom-light: #7363af; $custom-dark: #000000;
JSON
{
"hex": "#2c298d",
"rgb": {
"r": 44,
"g": 41,
"b": 141
},
"hsl": {
"h": 241.8,
"s": 54.945,
"l": 35.686
},
"oklch": {
"l": 0.35767,
"c": 0.15924,
"h": 276
},
"luminance": 0.04044
}Semantic roles & 50–950 ramp
primary
#2C298D
secondary
#B4B65B
accent
#DE4ADA
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F