#2A2E9C#2A2E9C
#2A2E9C is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.174 H 272.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E9C |
|---|---|
| RGB | rgb(42, 46, 156) |
| HSL | hsl(238, 58%, 39%) |
| HSV | hsv(238, 73%, 61%) |
| CMYK | cmyk(73.1%, 70.5%, 0%, 38.8%) |
| CIE-LAB | lab(26.29, 36.20, -60.01) |
| CIE-LCH | lch(26.29, 70.08, 301.10°) |
| OKLab | oklab(37.96% 0.0088 -0.1735) |
| OKLCH | oklch(37.96% 0.174 272.9) |
| XYZ | xyz(7.9306, 4.8457, 31.9634) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.56
Royal
#0C1793
ΔE00 5.66
Indigo Blue
#3A18B1
ΔE00 5.89
Blueberry
#464196
ΔE00 6.32
Darkslateblue
#483D8B
ΔE00 6.71
Cobalt Blue
#030AA7
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E9C #9C982A
analogous
#2A679C #2A2E9C #5F2A9C
triadic
#2A2E9C #9C2A2E #2E9C2A
tetradic
#2A2E9C #9C2A67 #9C982A #2A9C5F
square
#2A2E9C #9C2A67 #9C982A #2A9C5F
split-complementary
#2A2E9C #9C5F2A #679C2A
monochromatic
#10123C #1D206C #2A2E9C #393ECA #6A6DD7
Accessibility & contrast
On white
10.66
#2A2E9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2A2E9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E9C
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E9C | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a2e9c; /* rgb */ color: rgb(42, 46, 156); /* oklch */ color: oklch(38.0% 0.174 272.9);
Tailwind
colors: {
custom: {
50: '#7567ba',
500: '#2a2e9c',
950: '#000000',
},
}SCSS
$custom: #2a2e9c; $custom-light: #7567ba; $custom-dark: #000000;
JSON
{
"hex": "#2a2e9c",
"rgb": {
"r": 42,
"g": 46,
"b": 156
},
"hsl": {
"h": 237.895,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.37961,
"c": 0.17376,
"h": 272.9
},
"luminance": 0.04847
}Semantic roles & 50–950 ramp
primary
#2A2E9C
secondary
#BDBA65
accent
#DB47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81