#2C276F#2C276F
#2C276F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.120 H 280.5°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C276F |
|---|---|
| RGB | rgb(44, 39, 111) |
| HSL | hsl(244, 48%, 29%) |
| HSV | hsv(244, 65%, 44%) |
| CMYK | cmyk(60.4%, 64.9%, 0%, 56.5%) |
| CIE-LAB | lab(20.57, 25.00, -41.14) |
| CIE-LCH | lch(20.57, 48.14, 301.29°) |
| OKLab | oklab(32.56% 0.0219 -0.1182) |
| OKLCH | oklch(32.56% 0.12 280.5) |
| XYZ | xyz(4.6326, 3.1339, 15.3966) |
| Luminance | 0.0313 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.38
Darkslateblue
#483D8B
ΔE00 7.56
Royal
#0C1793
ΔE00 7.82
Dark Indigo
#1F0954
ΔE00 8.04
Darkblue (survey)
#030764
ΔE00 8.31
Marine
#042E60
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C276F #6A6F27
analogous
#27466F #2C276F #50276F
triadic
#2C276F #6F2C27 #276F2C
tetradic
#2C276F #6F2746 #6A6F27 #276F50
square
#2C276F #6F2746 #6A6F27 #276F50
split-complementary
#2C276F #6F5027 #466F27
monochromatic
#090817 #1A1742 #2C276F #3E379C #574FC1
Accessibility & contrast
On white
12.91
#2C276F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#2C276F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C276F
12.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C276F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C276F | 1.00 | 12.91 | 1.63 | 12.91 |
| #FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#053947
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c276f; /* rgb */ color: rgb(44, 39, 111); /* oklch */ color: oklch(32.6% 0.120 280.5);
Tailwind
colors: {
custom: {
50: '#6d6199',
500: '#2c276f',
950: '#000000',
},
}SCSS
$custom: #2c276f; $custom-light: #6d6199; $custom-dark: #000000;
JSON
{
"hex": "#2c276f",
"rgb": {
"r": 44,
"g": 39,
"b": 111
},
"hsl": {
"h": 244.167,
"s": 48,
"l": 29.412
},
"oklch": {
"l": 0.32562,
"c": 0.12023,
"h": 280.5
},
"luminance": 0.03134
}Semantic roles & 50–950 ramp
primary
#2C276F
secondary
#9CA250
accent
#D850CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E