#2C207F#2C207F
#2C207F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.9% C 0.151 H 279.8°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2C207F |
|---|---|
| RGB | rgb(44, 32, 127) |
| HSL | hsl(248, 60%, 31%) |
| HSV | hsv(248, 75%, 50%) |
| CMYK | cmyk(65.4%, 74.8%, 0%, 50.2%) |
| CIE-LAB | lab(20.44, 34.96, -51.59) |
| CIE-LCH | lch(20.44, 62.32, 304.12°) |
| OKLab | oklab(32.93% 0.0258 -0.1489) |
| OKLCH | oklch(32.93% 0.151 279.8) |
| XYZ | xyz(5.3848, 3.1004, 20.3892) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.34
Royal
#0C1793
ΔE00 4.31
Indigo (survey)
#380282
ΔE00 5.49
Dark Royal Blue
#02066F
ΔE00 6.37
Darkblue
#00008B
ΔE00 6.43
Navy
#000080
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C207F #737F20
analogous
#20437F #2C207F #5B207F
triadic
#2C207F #7F2C20 #207F2C
tetradic
#2C207F #7F2043 #737F20 #207F5B
square
#2C207F #7F2043 #737F20 #207F5B
split-complementary
#2C207F #7F5B20 #437F20
monochromatic
#0A071D #1B144E #2C207F #3D2CB0 #5A48D1
Accessibility & contrast
On white
12.96
#2C207F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2C207F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C207F
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C207F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C207F | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003582
Deuteranopia (green-blind)
#002E7D
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c207f; /* rgb */ color: rgb(44, 32, 127); /* oklch */ color: oklch(32.9% 0.151 279.8);
Tailwind
colors: {
custom: {
50: '#715da5',
500: '#2c207f',
950: '#000000',
},
}SCSS
$custom: #2c207f; $custom-light: #715da5; $custom-dark: #000000;
JSON
{
"hex": "#2c207f",
"rgb": {
"r": 44,
"g": 32,
"b": 127
},
"hsl": {
"h": 247.579,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.3293,
"c": 0.15108,
"h": 279.8
},
"luminance": 0.03101
}Semantic roles & 50–950 ramp
primary
#2C207F
secondary
#A5B249
accent
#E345CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F