#2C286E#2C286E
#2C286E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.7% C 0.117 H 280.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C286E |
|---|---|
| RGB | rgb(44, 40, 110) |
| HSL | hsl(243, 47%, 29%) |
| HSV | hsv(243, 64%, 43%) |
| CMYK | cmyk(60%, 63.6%, 0%, 56.9%) |
| CIE-LAB | lab(20.75, 23.97, -40.21) |
| CIE-LCH | lch(20.75, 46.82, 300.80°) |
| OKLab | oklab(32.66% 0.0209 -0.1155) |
| OKLCH | oklch(32.66% 0.117 280.2) |
| XYZ | xyz(4.6111, 3.1785, 15.1194) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.73
Darkslateblue
#483D8B
ΔE00 7.48
Marine
#042E60
ΔE00 8.13
Royal
#0C1793
ΔE00 8.19
Dark Indigo
#1F0954
ΔE00 8.28
Darkblue (survey)
#030764
ΔE00 8.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C286E #6A6E28
analogous
#28476E #2C286E #4F286E
triadic
#2C286E #6E2C28 #286E2C
tetradic
#2C286E #6E2847 #6A6E28 #286E4F
square
#2C286E #6E2847 #6A6E28 #286E4F
split-complementary
#2C286E #6E4F28 #476E28
monochromatic
#090816 #1A1841 #2C286E #3E389B #5751C0
Accessibility & contrast
On white
12.84
#2C286E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2C286E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C286E
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C286E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C286E | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#073947
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2c286e; /* rgb */ color: rgb(44, 40, 110); /* oklch */ color: oklch(32.7% 0.117 280.2);
Tailwind
colors: {
custom: {
50: '#6c6298',
500: '#2c286e',
950: '#000000',
},
}SCSS
$custom: #2c286e; $custom-light: #6c6298; $custom-dark: #000000;
JSON
{
"hex": "#2c286e",
"rgb": {
"r": 44,
"g": 40,
"b": 110
},
"hsl": {
"h": 243.429,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.32663,
"c": 0.11735,
"h": 280.2
},
"luminance": 0.03179
}Semantic roles & 50–950 ramp
primary
#2C286E
secondary
#9CA051
accent
#D651CF
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E