#2C299B#2C299B
#2C299B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.177 H 274.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2C299B |
|---|---|
| RGB | rgb(44, 41, 155) |
| HSL | hsl(242, 58%, 38%) |
| HSV | hsv(242, 74%, 61%) |
| CMYK | cmyk(71.6%, 73.5%, 0%, 39.2%) |
| CIE-LAB | lab(25.22, 39.10, -61.15) |
| CIE-LCH | lch(25.22, 72.59, 302.60°) |
| OKLab | oklab(37.2% 0.0144 -0.1768) |
| OKLCH | oklch(37.2% 0.177 274.6) |
| XYZ | xyz(7.7461, 4.4872, 31.4619) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.55
Sapphire (survey)
#2138AB
ΔE00 4.82
Indigo Blue
#3A18B1
ΔE00 4.85
Cobalt Blue
#030AA7
ΔE00 5.88
Royal Blue (survey)
#0504AA
ΔE00 6.38
Ultramarine
#2000B1
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C299B #989B29
analogous
#295F9B #2C299B #65299B
triadic
#2C299B #9B2C29 #299B2C
tetradic
#2C299B #9B295F #989B29 #299B65
square
#2C299B #9B295F #989B29 #299B65
split-complementary
#2C299B #9B6529 #5F9B29
monochromatic
#110F3A #1E1C6B #2C299B #3B37CA #6A67D7
Accessibility & contrast
On white
11.07
#2C299B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2C299B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C299B
11.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C299B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C299B | 1.00 | 11.07 | 1.90 | 11.07 |
| #FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c299b; /* rgb */ color: rgb(44, 41, 155); /* oklch */ color: oklch(37.2% 0.177 274.6);
Tailwind
colors: {
custom: {
50: '#7664ba',
500: '#2c299b',
950: '#000000',
},
}SCSS
$custom: #2c299b; $custom-light: #7664ba; $custom-dark: #000000;
JSON
{
"hex": "#2c299b",
"rgb": {
"r": 44,
"g": 41,
"b": 155
},
"hsl": {
"h": 241.579,
"s": 58.163,
"l": 38.431
},
"oklch": {
"l": 0.37198,
"c": 0.17739,
"h": 274.6
},
"luminance": 0.04488
}Semantic roles & 50–950 ramp
primary
#2C299B
secondary
#BBBD63
accent
#E146DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81