#2A2C93#2A2C93
#2A2C93 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.164 H 273.9°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C93 |
|---|---|
| RGB | rgb(42, 44, 147) |
| HSL | hsl(239, 56%, 37%) |
| HSV | hsv(239, 71%, 58%) |
| CMYK | cmyk(71.4%, 70.1%, 0%, 42.4%) |
| CIE-LAB | lab(24.95, 34.27, -56.69) |
| CIE-LCH | lch(24.95, 66.24, 301.15°) |
| OKLab | oklab(36.73% 0.0113 -0.1638) |
| OKLCH | oklch(36.73% 0.164 273.9) |
| XYZ | xyz(7.1202, 4.3995, 28.0721) |
| Luminance | 0.0440 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.70
Royal
#0C1793
ΔE00 5.16
Indigo Blue
#3A18B1
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.54
Blueberry
#464196
ΔE00 6.59
Midnight Blue
#191970
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C93 #93912A
analogous
#2A6193 #2A2C93 #5D2A93
triadic
#2A2C93 #932A2C #2C932A
tetradic
#2A2C93 #932A61 #93912A #2A935D
square
#2A2C93 #932A61 #93912A #2A935D
split-complementary
#2A2C93 #935D2A #61932A
monochromatic
#0F1034 #1C1E63 #2A2C93 #383AC3 #6567D3
Accessibility & contrast
On white
11.17
#2A2C93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#2A2C93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C93
11.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C93 | 1.00 | 11.17 | 1.88 | 11.17 |
| #FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a2c93; /* rgb */ color: rgb(42, 44, 147); /* oklch */ color: oklch(36.7% 0.164 273.9);
Tailwind
colors: {
custom: {
50: '#7366b4',
500: '#2a2c93',
950: '#000000',
},
}SCSS
$custom: #2a2c93; $custom-light: #7366b4; $custom-dark: #000000;
JSON
{
"hex": "#2a2c93",
"rgb": {
"r": 42,
"g": 44,
"b": 147
},
"hsl": {
"h": 238.857,
"s": 55.556,
"l": 37.059
},
"oklch": {
"l": 0.36727,
"c": 0.16422,
"h": 273.9
},
"luminance": 0.044
}Semantic roles & 50–950 ramp
primary
#2A2C93
secondary
#B9B760
accent
#DC49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80