#2A2C9C#2A2C9C
#2A2C9C is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.176 H 273.3°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2C9C |
|---|---|
| RGB | rgb(42, 44, 156) |
| HSL | hsl(239, 58%, 39%) |
| HSV | hsv(239, 73%, 61%) |
| CMYK | cmyk(73.1%, 71.8%, 0%, 38.8%) |
| CIE-LAB | lab(25.84, 37.43, -60.74) |
| CIE-LCH | lch(25.84, 71.35, 301.64°) |
| OKLab | oklab(37.64% 0.01 -0.1757) |
| OKLCH | oklch(37.64% 0.176 273.3) |
| XYZ | xyz(7.8543, 4.6931, 31.9380) |
| Luminance | 0.0469 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.01
Royal
#0C1793
ΔE00 5.18
Indigo Blue
#3A18B1
ΔE00 5.45
Cobalt Blue
#030AA7
ΔE00 6.54
Blueberry
#464196
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2C9C #9C9A2A
analogous
#2A659C #2A2C9C #612A9C
triadic
#2A2C9C #9C2A2C #2C9C2A
tetradic
#2A2C9C #9C2A65 #9C9A2A #2A9C61
square
#2A2C9C #9C2A65 #9C9A2A #2A9C61
split-complementary
#2A2C9C #9C612A #659C2A
monochromatic
#10113C #1D1E6C #2A2C9C #393CCA #6A6CD7
Accessibility & contrast
On white
10.83
#2A2C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#2A2C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2C9C
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2C9C | 1.00 | 10.83 | 1.94 | 10.83 |
| #FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#00389A
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #2a2c9c; /* rgb */ color: rgb(42, 44, 156); /* oklch */ color: oklch(37.6% 0.176 273.3);
Tailwind
colors: {
custom: {
50: '#7566ba',
500: '#2a2c9c',
950: '#000000',
},
}SCSS
$custom: #2a2c9c; $custom-light: #7566ba; $custom-dark: #000000;
JSON
{
"hex": "#2a2c9c",
"rgb": {
"r": 42,
"g": 44,
"b": 156
},
"hsl": {
"h": 238.947,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.37638,
"c": 0.17597,
"h": 273.3
},
"luminance": 0.04694
}Semantic roles & 50–950 ramp
primary
#2A2C9C
secondary
#BDBC65
accent
#DE47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81