#2C218F#2C218F
#2C218F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.170 H 277.2°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).
Color values
| HEX | #2C218F |
|---|---|
| RGB | rgb(44, 33, 143) |
| HSL | hsl(246, 63%, 35%) |
| HSV | hsv(246, 77%, 56%) |
| CMYK | cmyk(69.2%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(22.32, 39.69, -58.53) |
| CIE-LCH | lch(22.32, 70.72, 304.14°) |
| OKLab | oklab(34.77% 0.0215 -0.1691) |
| OKLCH | oklch(34.77% 0.17 277.2) |
| XYZ | xyz(6.5389, 3.6058, 26.3327) |
| Luminance | 0.0361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.06
Cobalt Blue
#030AA7
ΔE00 5.13
Indigo Blue
#3A18B1
ΔE00 5.30
Midnight Blue
#191970
ΔE00 5.31
Royal Blue (survey)
#0504AA
ΔE00 5.65
Indigo (survey)
#380282
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C218F #848F21
analogous
#214D8F #2C218F #63218F
triadic
#2C218F #8F2C21 #218F2C
tetradic
#2C218F #8F214D #848F21 #218F63
square
#2C218F #8F214D #848F21 #218F63
split-complementary
#2C218F #8F6321 #4D8F21
monochromatic
#0D0A2C #1D165D #2C218F #3B2CC1 #6053D7
Accessibility & contrast
On white
12.20
#2C218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#2C218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C218F
12.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C218F | 1.00 | 12.20 | 1.72 | 12.20 |
| #FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #2c218f; /* rgb */ color: rgb(44, 33, 143); /* oklch */ color: oklch(34.8% 0.170 277.2);
Tailwind
colors: {
custom: {
50: '#745eb1',
500: '#2c218f',
950: '#000000',
},
}SCSS
$custom: #2c218f; $custom-light: #745eb1; $custom-dark: #000000;
JSON
{
"hex": "#2c218f",
"rgb": {
"r": 44,
"g": 33,
"b": 143
},
"hsl": {
"h": 246,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.34766,
"c": 0.17048,
"h": 277.2
},
"luminance": 0.03606
}Semantic roles & 50–950 ramp
primary
#2C218F
secondary
#B0BB51
accent
#E642D5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980