#2C2A99#2C2A99
#2C2A99 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.174 H 274.7°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2C2A99 |
|---|---|
| RGB | rgb(44, 42, 153) |
| HSL | hsl(241, 57%, 38%) |
| HSV | hsv(241, 73%, 60%) |
| CMYK | cmyk(71.2%, 72.5%, 0%, 40%) |
| CIE-LAB | lab(25.23, 37.82, -59.91) |
| CIE-LCH | lch(25.23, 70.85, 302.27°) |
| OKLab | oklab(37.14% 0.0141 -0.1732) |
| OKLCH | oklch(37.14% 0.174 274.7) |
| XYZ | xyz(7.6145, 4.4906, 30.5963) |
| Luminance | 0.0449 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.71
Sapphire (survey)
#2138AB
ΔE00 4.72
Indigo Blue
#3A18B1
ΔE00 5.24
Cobalt Blue
#030AA7
ΔE00 6.21
Royal Blue (survey)
#0504AA
ΔE00 6.73
Ultramarine
#2000B1
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C2A99 #97992A
analogous
#2A5F99 #2C2A99 #632A99
triadic
#2C2A99 #992C2A #2A992C
tetradic
#2C2A99 #992A5F #97992A #2A9963
square
#2C2A99 #992A5F #97992A #2A9963
split-complementary
#2C2A99 #99632A #5F992A
monochromatic
#101039 #1E1D69 #2C2A99 #3A38C8 #6A68D6
Accessibility & contrast
On white
11.06
#2C2A99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2C2A99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C2A99
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C2A99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C2A99 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2c2a99; /* rgb */ color: rgb(44, 42, 153); /* oklch */ color: oklch(37.1% 0.174 274.7);
Tailwind
colors: {
custom: {
50: '#7665b8',
500: '#2c2a99',
950: '#000000',
},
}SCSS
$custom: #2c2a99; $custom-light: #7665b8; $custom-dark: #000000;
JSON
{
"hex": "#2c2a99",
"rgb": {
"r": 44,
"g": 42,
"b": 153
},
"hsl": {
"h": 241.081,
"s": 56.923,
"l": 38.235
},
"oklch": {
"l": 0.37144,
"c": 0.17377,
"h": 274.7
},
"luminance": 0.04491
}Semantic roles & 50–950 ramp
primary
#2C2A99
secondary
#BABC63
accent
#E048DD
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0511
muted
#7C7A80