#2C2699#2C2699
#2C2699 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.5% C 0.178 H 275.3°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2699 |
|---|---|
| RGB | rgb(44, 38, 153) |
| HSL | hsl(243, 60%, 37%) |
| HSV | hsv(243, 75%, 60%) |
| CMYK | cmyk(71.2%, 75.2%, 0%, 40%) |
| CIE-LAB | lab(24.39, 40.18, -61.30) |
| CIE-LCH | lch(24.39, 73.29, 303.24°) |
| OKLab | oklab(36.54% 0.0165 -0.1772) |
| OKLCH | oklch(36.54% 0.178 275.3) |
| XYZ | xyz(7.4797, 4.2209, 30.5513) |
| Luminance | 0.0422 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.90
Indigo Blue
#3A18B1
ΔE00 4.57
Cobalt Blue
#030AA7
ΔE00 5.31
Sapphire (survey)
#2138AB
ΔE00 5.59
Royal Blue (survey)
#0504AA
ΔE00 5.82
Ultramarine
#2000B1
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2699 #939926
analogous
#265A99 #2C2699 #652699
triadic
#2C2699 #992C26 #26992C
tetradic
#2C2699 #99265A #939926 #269965
square
#2C2699 #99265A #939926 #269965
split-complementary
#2C2699 #996526 #5A9926
monochromatic
#100E37 #1E1A68 #2C2699 #3A32CA #6862D8
Accessibility & contrast
On white
11.39
#2C2699 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#2C2699 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2699
11.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2699 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2699 | 1.00 | 11.39 | 1.84 | 11.39 |
| #FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00475D
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2c2699; /* rgb */ color: rgb(44, 38, 153); /* oklch */ color: oklch(36.5% 0.178 275.3);
Tailwind
colors: {
custom: {
50: '#7662b8',
500: '#2c2699',
950: '#000000',
},
}SCSS
$custom: #2c2699; $custom-light: #7662b8; $custom-dark: #000000;
JSON
{
"hex": "#2c2699",
"rgb": {
"r": 44,
"g": 38,
"b": 153
},
"hsl": {
"h": 243.13,
"s": 60.209,
"l": 37.451
},
"oklch": {
"l": 0.36544,
"c": 0.17798,
"h": 275.3
},
"luminance": 0.04222
}Semantic roles & 50–950 ramp
primary
#2C2699
secondary
#B8BD5E
accent
#E344DB
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981