#2C207E#2C207E
#2C207E is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.150 H 280.0°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2C207E |
|---|---|
| RGB | rgb(44, 32, 126) |
| HSL | hsl(248, 59%, 31%) |
| HSV | hsv(248, 75%, 49%) |
| CMYK | cmyk(65.1%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(20.34, 34.62, -51.13) |
| CIE-LCH | lch(20.34, 61.75, 304.11°) |
| OKLab | oklab(32.83% 0.026 -0.1475) |
| OKLCH | oklch(32.83% 0.15 280) |
| XYZ | xyz(5.3199, 3.0744, 20.0477) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.25
Royal
#0C1793
ΔE00 4.44
Indigo (survey)
#380282
ΔE00 5.53
Dark Royal Blue
#02066F
ΔE00 6.34
Darkblue
#00008B
ΔE00 6.50
Navy
#000080
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C207E #727E20
analogous
#20437E #2C207E #5B207E
triadic
#2C207E #7E2C20 #207E2C
tetradic
#2C207E #7E2043 #727E20 #207E5B
square
#2C207E #7E2043 #727E20 #207E5B
split-complementary
#2C207E #7E5B20 #437E20
monochromatic
#0A071C #1B144D #2C207E #3D2CAF #5948D0
Accessibility & contrast
On white
13.00
#2C207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2C207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C207E
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C207E | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002D7C
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2c207e; /* rgb */ color: rgb(44, 32, 126); /* oklch */ color: oklch(32.8% 0.150 280.0);
Tailwind
colors: {
custom: {
50: '#715da4',
500: '#2c207e',
950: '#000000',
},
}SCSS
$custom: #2c207e; $custom-light: #715da4; $custom-dark: #000000;
JSON
{
"hex": "#2c207e",
"rgb": {
"r": 44,
"g": 32,
"b": 126
},
"hsl": {
"h": 247.66,
"s": 59.494,
"l": 30.98
},
"oklch": {
"l": 0.32827,
"c": 0.14976,
"h": 280
},
"luminance": 0.03075
}Semantic roles & 50–950 ramp
primary
#2C207E
secondary
#A4B149
accent
#E345CF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F