#2A2C99#2A2C99
#2A2C99 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.172 H 273.5°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C99 |
|---|---|
| RGB | rgb(42, 44, 153) |
| HSL | hsl(239, 57%, 38%) |
| HSV | hsv(239, 73%, 60%) |
| CMYK | cmyk(72.5%, 71.2%, 0%, 40%) |
| CIE-LAB | lab(25.54, 36.38, -59.40) |
| CIE-LCH | lch(25.54, 69.66, 301.48°) |
| OKLab | oklab(37.33% 0.0105 -0.1718) |
| OKLCH | oklch(37.33% 0.172 273.5) |
| XYZ | xyz(7.6034, 4.5928, 30.6166) |
| Luminance | 0.0459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.21
Royal
#0C1793
ΔE00 5.13
Indigo Blue
#3A18B1
ΔE00 5.76
Blueberry
#464196
ΔE00 6.66
Cobalt Blue
#030AA7
ΔE00 6.69
Darkslateblue
#483D8B
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C99 #99972A
analogous
#2A6399 #2A2C99 #5F2A99
triadic
#2A2C99 #992A2C #2C992A
tetradic
#2A2C99 #992A63 #99972A #2A995F
square
#2A2C99 #992A63 #99972A #2A995F
split-complementary
#2A2C99 #995F2A #63992A
monochromatic
#101039 #1D1E69 #2A2C99 #383AC8 #686AD6
Accessibility & contrast
On white
10.94
#2A2C99 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#2A2C99 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C99
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C99 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C99 | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a2c99; /* rgb */ color: rgb(42, 44, 153); /* oklch */ color: oklch(37.3% 0.172 273.5);
Tailwind
colors: {
custom: {
50: '#7566b8',
500: '#2a2c99',
950: '#000000',
},
}SCSS
$custom: #2a2c99; $custom-light: #7566b8; $custom-dark: #000000;
JSON
{
"hex": "#2a2c99",
"rgb": {
"r": 42,
"g": 44,
"b": 153
},
"hsl": {
"h": 238.919,
"s": 56.923,
"l": 38.235
},
"oklch": {
"l": 0.37332,
"c": 0.17209,
"h": 273.5
},
"luminance": 0.04594
}Semantic roles & 50–950 ramp
primary
#2A2C99
secondary
#BCBA63
accent
#DD48E0
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80