#2C296F#2C296F
#2C296F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.9% C 0.117 H 279.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2C296F |
|---|---|
| RGB | rgb(44, 41, 111) |
| HSL | hsl(243, 46%, 30%) |
| HSV | hsv(243, 63%, 44%) |
| CMYK | cmyk(60.4%, 63.1%, 0%, 56.5%) |
| CIE-LAB | lab(21.09, 23.65, -40.30) |
| CIE-LCH | lch(21.09, 46.73, 300.41°) |
| OKLab | oklab(32.94% 0.0198 -0.1157) |
| OKLCH | oklch(32.94% 0.117 279.7) |
| XYZ | xyz(4.7000, 3.2687, 15.4191) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.92
Darkslateblue
#483D8B
ΔE00 7.26
Marine
#042E60
ΔE00 7.94
Royal
#0C1793
ΔE00 8.22
Dark Indigo
#1F0954
ΔE00 8.61
Navy Blue
#1B2A4A
ΔE00 8.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C296F #6C6F29
analogous
#29496F #2C296F #4F296F
triadic
#2C296F #6F2C29 #296F2C
tetradic
#2C296F #6F2949 #6C6F29 #296F4F
square
#2C296F #6F2949 #6C6F29 #296F4F
split-complementary
#2C296F #6F4F29 #496F29
monochromatic
#090816 #1A1842 #2C296F #3E3A9C #5853BF
Accessibility & contrast
On white
12.70
#2C296F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#2C296F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C296F
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C296F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C296F | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#00306E
Tritanopia (blue-blind)
#053A47
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2c296f; /* rgb */ color: rgb(44, 41, 111); /* oklch */ color: oklch(32.9% 0.117 279.7);
Tailwind
colors: {
custom: {
50: '#6d6399',
500: '#2c296f',
950: '#000000',
},
}SCSS
$custom: #2c296f; $custom-light: #6d6399; $custom-dark: #000000;
JSON
{
"hex": "#2c296f",
"rgb": {
"r": 44,
"g": 41,
"b": 111
},
"hsl": {
"h": 242.571,
"s": 46.053,
"l": 29.804
},
"oklch": {
"l": 0.32942,
"c": 0.11741,
"h": 279.7
},
"luminance": 0.03269
}Semantic roles & 50–950 ramp
primary
#2C296F
secondary
#9EA153
accent
#D652D0
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E