#2C2283#2C2283
#2C2283 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.154 H 278.8°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2283 |
|---|---|
| RGB | rgb(44, 34, 131) |
| HSL | hsl(246, 59%, 32%) |
| HSV | hsv(246, 74%, 51%) |
| CMYK | cmyk(66.4%, 74%, 0%, 48.6%) |
| CIE-LAB | lab(21.27, 35.12, -52.75) |
| CIE-LCH | lch(21.27, 63.37, 303.65°) |
| OKLab | oklab(33.65% 0.0235 -0.1523) |
| OKLCH | oklch(33.65% 0.154 278.8) |
| XYZ | xyz(5.7062, 3.3178, 21.8080) |
| Luminance | 0.0332 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.89
Royal
#0C1793
ΔE00 4.10
Indigo (survey)
#380282
ΔE00 5.87
Darkblue
#00008B
ΔE00 6.63
Cobalt Blue
#030AA7
ΔE00 6.67
Navy
#000080
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2283 #798322
analogous
#224883 #2C2283 #5D2283
triadic
#2C2283 #832C22 #22832C
tetradic
#2C2283 #832248 #798322 #22835D
square
#2C2283 #832248 #798322 #22835D
split-complementary
#2C2283 #835D22 #488322
monochromatic
#0B0922 #1C1552 #2C2283 #3C2FB4 #5C4ED1
Accessibility & contrast
On white
12.62
#2C2283 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#2C2283 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2283
12.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2283 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2283 | 1.00 | 12.62 | 1.66 | 12.62 |
| #FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002F81
Tritanopia (blue-blind)
#003D50
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #2c2283; /* rgb */ color: rgb(44, 34, 131); /* oklch */ color: oklch(33.6% 0.154 278.8);
Tailwind
colors: {
custom: {
50: '#715fa8',
500: '#2c2283',
950: '#000000',
},
}SCSS
$custom: #2c2283; $custom-light: #715fa8; $custom-dark: #000000;
JSON
{
"hex": "#2c2283",
"rgb": {
"r": 44,
"g": 34,
"b": 131
},
"hsl": {
"h": 246.186,
"s": 58.788,
"l": 32.353
},
"oklch": {
"l": 0.33646,
"c": 0.15406,
"h": 278.8
},
"luminance": 0.03318
}Semantic roles & 50–950 ramp
primary
#2C2283
secondary
#AAB44C
accent
#E246D2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F