#2A2E93#2A2E93
#2A2E93 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.1% C 0.162 H 273.5°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E93 |
|---|---|
| RGB | rgb(42, 46, 147) |
| HSL | hsl(238, 56%, 37%) |
| HSV | hsv(238, 71%, 58%) |
| CMYK | cmyk(71.4%, 68.7%, 0%, 42.4%) |
| CIE-LAB | lab(25.42, 33.00, -55.92) |
| CIE-LCH | lch(25.42, 64.93, 300.54°) |
| OKLab | oklab(37.07% 0.0099 -0.1616) |
| OKLCH | oklch(37.07% 0.162 273.5) |
| XYZ | xyz(7.1965, 4.5521, 28.0975) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.34
Royal
#0C1793
ΔE00 5.69
Blueberry
#464196
ΔE00 6.16
Darkslateblue
#483D8B
ΔE00 6.22
Indigo Blue
#3A18B1
ΔE00 6.85
Midnight Blue
#191970
ΔE00 7.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E93 #938F2A
analogous
#2A6393 #2A2E93 #5A2A93
triadic
#2A2E93 #932A2E #2E932A
tetradic
#2A2E93 #932A63 #938F2A #2A935A
square
#2A2E93 #932A63 #938F2A #2A935A
split-complementary
#2A2E93 #935A2A #63932A
monochromatic
#0F1034 #1C1F63 #2A2E93 #383DC3 #6569D3
Accessibility & contrast
On white
10.99
#2A2E93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#2A2E93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E93
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E93 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a2e93; /* rgb */ color: rgb(42, 46, 147); /* oklch */ color: oklch(37.1% 0.162 273.5);
Tailwind
colors: {
custom: {
50: '#7367b4',
500: '#2a2e93',
950: '#000000',
},
}SCSS
$custom: #2a2e93; $custom-light: #7367b4; $custom-dark: #000000;
JSON
{
"hex": "#2a2e93",
"rgb": {
"r": 42,
"g": 46,
"b": 147
},
"hsl": {
"h": 237.714,
"s": 55.556,
"l": 37.059
},
"oklch": {
"l": 0.37065,
"c": 0.16189,
"h": 273.5
},
"luminance": 0.04553
}Semantic roles & 50–950 ramp
primary
#2A2E93
secondary
#B9B660
accent
#D949DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80