#2C299A#2C299A
#2C299A is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.176 H 274.7°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2C299A |
|---|---|
| RGB | rgb(44, 41, 154) |
| HSL | hsl(242, 58%, 38%) |
| HSV | hsv(242, 73%, 60%) |
| CMYK | cmyk(71.4%, 73.4%, 0%, 39.6%) |
| CIE-LAB | lab(25.12, 38.76, -60.71) |
| CIE-LCH | lch(25.12, 72.03, 302.56°) |
| OKLab | oklab(37.09% 0.0146 -0.1755) |
| OKLCH | oklch(37.09% 0.176 274.7) |
| XYZ | xyz(7.6624, 4.4537, 31.0214) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.52
Sapphire (survey)
#2138AB
ΔE00 4.87
Indigo Blue
#3A18B1
ΔE00 4.95
Cobalt Blue
#030AA7
ΔE00 5.92
Royal Blue (survey)
#0504AA
ΔE00 6.43
Ultramarine
#2000B1
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C299A #979A29
analogous
#295E9A #2C299A #64299A
triadic
#2C299A #9A2C29 #299A2C
tetradic
#2C299A #9A295E #979A29 #299A64
square
#2C299A #9A295E #979A29 #299A64
split-complementary
#2C299A #9A6429 #5E9A29
monochromatic
#100F39 #1E1C6A #2C299A #3A37CA #6A67D7
Accessibility & contrast
On white
11.11
#2C299A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2C299A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C299A
11.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C299A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C299A | 1.00 | 11.11 | 1.89 | 11.11 |
| #FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c299a; /* rgb */ color: rgb(44, 41, 154); /* oklch */ color: oklch(37.1% 0.176 274.7);
Tailwind
colors: {
custom: {
50: '#7664b9',
500: '#2c299a',
950: '#000000',
},
}SCSS
$custom: #2c299a; $custom-light: #7664b9; $custom-dark: #000000;
JSON
{
"hex": "#2c299a",
"rgb": {
"r": 44,
"g": 41,
"b": 154
},
"hsl": {
"h": 241.593,
"s": 57.949,
"l": 38.235
},
"oklch": {
"l": 0.37094,
"c": 0.17612,
"h": 274.7
},
"luminance": 0.04454
}Semantic roles & 50–950 ramp
primary
#2C299A
secondary
#BABD62
accent
#E147DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81