#2C299F#2C299F
#2C299F is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.182 H 274.3°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #2C299F |
|---|---|
| RGB | rgb(44, 41, 159) |
| HSL | hsl(242, 59%, 39%) |
| HSV | hsv(242, 74%, 62%) |
| CMYK | cmyk(72.3%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(25.63, 40.46, -62.91) |
| CIE-LCH | lch(25.63, 74.80, 302.75°) |
| OKLab | oklab(37.62% 0.0137 -0.1819) |
| OKLCH | oklch(37.62% 0.182 274.3) |
| XYZ | xyz(8.0876, 4.6238, 33.2604) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.45
Sapphire (survey)
#2138AB
ΔE00 4.62
Royal
#0C1793
ΔE00 4.70
Cobalt Blue
#030AA7
ΔE00 5.73
Royal Blue (survey)
#0504AA
ΔE00 6.21
Ultramarine
#2000B1
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C299F #9C9F29
analogous
#29619F #2C299F #67299F
triadic
#2C299F #9F2C29 #299F2C
tetradic
#2C299F #9F2961 #9C9F29 #299F67
square
#2C299F #9F2961 #9C9F29 #299F67
split-complementary
#2C299F #9F6729 #619F29
monochromatic
#11103E #1F1C6E #2C299F #3D39CC #6D6AD9
Accessibility & contrast
On white
10.91
#2C299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#2C299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C299F
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C299F | 1.00 | 10.91 | 1.93 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00379D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2c299f; /* rgb */ color: rgb(44, 41, 159); /* oklch */ color: oklch(37.6% 0.182 274.3);
Tailwind
colors: {
custom: {
50: '#7764bd',
500: '#2c299f',
950: '#000000',
},
}SCSS
$custom: #2c299f; $custom-light: #7764bd; $custom-dark: #000000;
JSON
{
"hex": "#2c299f",
"rgb": {
"r": 44,
"g": 41,
"b": 159
},
"hsl": {
"h": 241.525,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.37617,
"c": 0.18245,
"h": 274.3
},
"luminance": 0.04625
}Semantic roles & 50–950 ramp
primary
#2C299F
secondary
#BDBF65
accent
#E246DE
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81