#2C226A#2C226A
#2C226A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 31.2% C 0.120 H 283.3°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2C226A |
|---|---|
| RGB | rgb(44, 34, 106) |
| HSL | hsl(248, 51%, 27%) |
| HSV | hsv(248, 68%, 42%) |
| CMYK | cmyk(58.5%, 67.9%, 0%, 58.4%) |
| CIE-LAB | lab(18.89, 26.56, -40.64) |
| CIE-LCH | lch(18.89, 48.55, 303.17°) |
| OKLab | oklab(31.2% 0.0276 -0.1168) |
| OKLCH | oklch(31.2% 0.12 283.3) |
| XYZ | xyz(4.2115, 2.7199, 13.9359) |
| Luminance | 0.0272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.75
Dark Indigo
#1F0954
ΔE00 6.49
Darkblue (survey)
#030764
ΔE00 7.20
Dark Royal Blue
#02066F
ΔE00 7.46
Royal
#0C1793
ΔE00 7.90
Indigo (survey)
#380282
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C226A #606A22
analogous
#223C6A #2C226A #50226A
triadic
#2C226A #6A2C22 #226A2C
tetradic
#2C226A #6A223C #606A22 #226A50
square
#2C226A #6A223C #606A22 #226A50
split-complementary
#2C226A #6A5022 #3C6A22
monochromatic
#0A0717 #19133C #2C226A #3F3198 #5544C3
Accessibility & contrast
On white
13.60
#2C226A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#2C226A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C226A
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C226A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C226A | 1.00 | 13.60 | 1.54 | 13.60 |
| #FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002B69
Tritanopia (blue-blind)
#0F3442
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #2c226a; /* rgb */ color: rgb(44, 34, 106); /* oklch */ color: oklch(31.2% 0.120 283.3);
Tailwind
colors: {
custom: {
50: '#6c5e95',
500: '#2c226a',
950: '#000000',
},
}SCSS
$custom: #2c226a; $custom-light: #6c5e95; $custom-dark: #000000;
JSON
{
"hex": "#2c226a",
"rgb": {
"r": 44,
"g": 34,
"b": 106
},
"hsl": {
"h": 248.333,
"s": 51.429,
"l": 27.451
},
"oklch": {
"l": 0.31195,
"c": 0.11999,
"h": 283.3
},
"luminance": 0.0272
}Semantic roles & 50–950 ramp
primary
#2C226A
secondary
#929E4A
accent
#DB4DC7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040D
muted
#7A797E