#2C276E#2C276E
#2C276E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.5% C 0.119 H 280.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C276E |
|---|---|
| RGB | rgb(44, 39, 110) |
| HSL | hsl(244, 48%, 29%) |
| HSV | hsv(244, 65%, 43%) |
| CMYK | cmyk(60%, 64.5%, 0%, 56.9%) |
| CIE-LAB | lab(20.49, 24.65, -40.63) |
| CIE-LCH | lch(20.49, 47.52, 301.24°) |
| OKLab | oklab(32.47% 0.0219 -0.1167) |
| OKLCH | oklch(32.47% 0.119 280.6) |
| XYZ | xyz(4.5778, 3.1120, 15.1083) |
| Luminance | 0.0311 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.46
Darkslateblue
#483D8B
ΔE00 7.63
Royal
#0C1793
ΔE00 8.00
Dark Indigo
#1F0954
ΔE00 8.00
Darkblue (survey)
#030764
ΔE00 8.35
Marine
#042E60
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C276E #696E27
analogous
#27466E #2C276E #50276E
triadic
#2C276E #6E2C27 #276E2C
tetradic
#2C276E #6E2746 #696E27 #276E50
square
#2C276E #6E2746 #696E27 #276E50
split-complementary
#2C276E #6E5027 #466E27
monochromatic
#090817 #1A1741 #2C276E #3E379B #574FC1
Accessibility & contrast
On white
12.94
#2C276E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2C276E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C276E
12.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C276E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C276E | 1.00 | 12.94 | 1.62 | 12.94 |
| #FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#073846
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c276e; /* rgb */ color: rgb(44, 39, 110); /* oklch */ color: oklch(32.5% 0.119 280.6);
Tailwind
colors: {
custom: {
50: '#6d6198',
500: '#2c276e',
950: '#000000',
},
}SCSS
$custom: #2c276e; $custom-light: #6d6198; $custom-dark: #000000;
JSON
{
"hex": "#2c276e",
"rgb": {
"r": 44,
"g": 39,
"b": 110
},
"hsl": {
"h": 244.225,
"s": 47.651,
"l": 29.216
},
"oklch": {
"l": 0.32473,
"c": 0.11877,
"h": 280.6
},
"luminance": 0.03112
}Semantic roles & 50–950 ramp
primary
#2C276E
secondary
#9BA150
accent
#D751CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E