#2C295F#2C295F
#2C295F is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.6% C 0.093 H 282.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C295F |
|---|---|
| RGB | rgb(44, 41, 95) |
| HSL | hsl(243, 40%, 27%) |
| HSV | hsv(243, 57%, 37%) |
| CMYK | cmyk(53.7%, 56.8%, 0%, 62.7%) |
| CIE-LAB | lab(19.83, 17.96, -31.90) |
| CIE-LCH | lch(19.83, 36.60, 299.38°) |
| OKLab | oklab(31.61% 0.0196 -0.091) |
| OKLCH | oklch(31.61% 0.093 282.2) |
| XYZ | xyz(3.8966, 2.9474, 11.1878) |
| Luminance | 0.0295 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 6.86
Midnight Blue
#191970
ΔE00 7.18
Marine
#042E60
ΔE00 7.79
Navy Blue (survey)
#001146
ΔE00 8.13
Navy (survey)
#01153E
ΔE00 8.47
Dark Indigo
#1F0954
ΔE00 8.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C295F #5C5F29
analogous
#29415F #2C295F #47295F
triadic
#2C295F #5F2C29 #295F2C
tetradic
#2C295F #5F2941 #5C5F29 #295F47
square
#2C295F #5F2941 #5C5F29 #295F47
split-complementary
#2C295F #5F4729 #415F29
monochromatic
#0A0915 #181734 #2C295F #403B8A #554FB3
Accessibility & contrast
On white
13.21
#2C295F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#2C295F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C295F
13.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C295F | 1.00 | 13.21 | 1.59 | 13.21 |
| #FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C3261
Deuteranopia (green-blind)
#072E5E
Tritanopia (blue-blind)
#19353F
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2c295f; /* rgb */ color: rgb(44, 41, 95); /* oklch */ color: oklch(31.6% 0.093 282.2);
Tailwind
colors: {
custom: {
50: '#6a628d',
500: '#2c295f',
950: '#000000',
},
}SCSS
$custom: #2c295f; $custom-light: #6a628d; $custom-dark: #000000;
JSON
{
"hex": "#2c295f",
"rgb": {
"r": 44,
"g": 41,
"b": 95
},
"hsl": {
"h": 243.333,
"s": 39.706,
"l": 26.667
},
"oklch": {
"l": 0.31611,
"c": 0.0931,
"h": 282.2
},
"luminance": 0.02948
}Semantic roles & 50–950 ramp
primary
#2C295F
secondary
#8E9252
accent
#D058C9
background
#F6F5F8
surface
#EBEAF0
border
#C6C6CB
text
#07050C
muted
#7A797D