#2A2E8A#2A2E8A
#2A2E8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.150 H 274.1°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E8A |
|---|---|
| RGB | rgb(42, 46, 138) |
| HSL | hsl(238, 53%, 35%) |
| HSV | hsv(238, 70%, 54%) |
| CMYK | cmyk(69.6%, 66.7%, 0%, 45.9%) |
| CIE-LAB | lab(24.58, 29.75, -51.72) |
| CIE-LCH | lch(24.58, 59.67, 299.91°) |
| OKLab | oklab(36.2% 0.0108 -0.1493) |
| OKLCH | oklch(36.2% 0.15 274.1) |
| XYZ | xyz(6.5178, 4.2806, 24.5226) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.38
Darkslateblue
#483D8B
ΔE00 5.92
Royal
#0C1793
ΔE00 6.11
Blueberry
#464196
ΔE00 6.24
Midnight Blue
#191970
ΔE00 6.39
Indigo Blue
#3A18B1
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E8A #8A862A
analogous
#2A5E8A #2A2E8A #562A8A
triadic
#2A2E8A #8A2A2E #2E8A2A
tetradic
#2A2E8A #8A2A5E #8A862A #2A8A56
square
#2A2E8A #8A2A5E #8A862A #2A8A56
split-complementary
#2A2E8A #8A562A #5E8A2A
monochromatic
#0D0F2C #1C1E5B #2A2E8A #383EB9 #6064CF
Accessibility & contrast
On white
11.31
#2A2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A2E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E8A
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E8A | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #2a2e8a; /* rgb */ color: rgb(42, 46, 138); /* oklch */ color: oklch(36.2% 0.150 274.1);
Tailwind
colors: {
custom: {
50: '#7167ad',
500: '#2a2e8a',
950: '#000000',
},
}SCSS
$custom: #2a2e8a; $custom-light: #7167ad; $custom-dark: #000000;
JSON
{
"hex": "#2a2e8a",
"rgb": {
"r": 42,
"g": 46,
"b": 138
},
"hsl": {
"h": 237.5,
"s": 53.333,
"l": 35.294
},
"oklch": {
"l": 0.36196,
"c": 0.14968,
"h": 274.1
},
"luminance": 0.04281
}Semantic roles & 50–950 ramp
primary
#2A2E8A
secondary
#B4B15B
accent
#D74BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F