#2A2E8F#2A2E8F
#2A2E8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.157 H 273.8°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E8F |
|---|---|
| RGB | rgb(42, 46, 143) |
| HSL | hsl(238, 55%, 36%) |
| HSV | hsv(238, 71%, 56%) |
| CMYK | cmyk(70.6%, 67.8%, 0%, 43.9%) |
| CIE-LAB | lab(25.04, 31.56, -54.07) |
| CIE-LCH | lch(25.04, 62.60, 300.27°) |
| OKLab | oklab(36.68% 0.0104 -0.1562) |
| OKLCH | oklch(36.68% 0.157 273.8) |
| XYZ | xyz(6.8881, 4.4288, 26.4731) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.77
Royal
#0C1793
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.06
Blueberry
#464196
ΔE00 6.17
Midnight Blue
#191970
ΔE00 6.78
Indigo Blue
#3A18B1
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E8F #8F8B2A
analogous
#2A618F #2A2E8F #592A8F
triadic
#2A2E8F #8F2A2E #2E8F2A
tetradic
#2A2E8F #8F2A61 #8F8B2A #2A8F59
square
#2A2E8F #8F2A61 #8F8B2A #2A8F59
split-complementary
#2A2E8F #8F592A #618F2A
monochromatic
#0E1030 #1C1F60 #2A2E8F #383DBE #6267D1
Accessibility & contrast
On white
11.14
#2A2E8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2A2E8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E8F
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E8F | 1.00 | 11.14 | 1.89 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a2e8f; /* rgb */ color: rgb(42, 46, 143); /* oklch */ color: oklch(36.7% 0.157 273.8);
Tailwind
colors: {
custom: {
50: '#7267b1',
500: '#2a2e8f',
950: '#000000',
},
}SCSS
$custom: #2a2e8f; $custom-light: #7267b1; $custom-dark: #000000;
JSON
{
"hex": "#2a2e8f",
"rgb": {
"r": 42,
"g": 46,
"b": 143
},
"hsl": {
"h": 237.624,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.36676,
"c": 0.15651,
"h": 273.8
},
"luminance": 0.04429
}Semantic roles & 50–950 ramp
primary
#2A2E8F
secondary
#B7B35E
accent
#D84ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80