#2A2D93#2A2D93
#2A2D93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.163 H 273.7°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D93 |
|---|---|
| RGB | rgb(42, 45, 147) |
| HSL | hsl(238, 56%, 37%) |
| HSV | hsv(238, 71%, 58%) |
| CMYK | cmyk(71.4%, 69.4%, 0%, 42.4%) |
| CIE-LAB | lab(25.18, 33.63, -56.31) |
| CIE-LCH | lch(25.18, 65.59, 300.85°) |
| OKLab | oklab(36.9% 0.0106 -0.1627) |
| OKLCH | oklch(36.9% 0.163 273.7) |
| XYZ | xyz(7.1579, 4.4749, 28.0846) |
| Luminance | 0.0448 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.52
Royal
#0C1793
ΔE00 5.42
Blueberry
#464196
ΔE00 6.37
Darkslateblue
#483D8B
ΔE00 6.38
Indigo Blue
#3A18B1
ΔE00 6.64
Midnight Blue
#191970
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D93 #93902A
analogous
#2A6193 #2A2D93 #5C2A93
triadic
#2A2D93 #932A2D #2D932A
tetradic
#2A2D93 #932A61 #93902A #2A935C
square
#2A2D93 #932A61 #93902A #2A935C
split-complementary
#2A2D93 #935C2A #61932A
monochromatic
#0F1034 #1C1E63 #2A2D93 #383CC3 #6568D3
Accessibility & contrast
On white
11.08
#2A2D93 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#2A2D93 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D93
11.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D93 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D93 | 1.00 | 11.08 | 1.90 | 11.08 |
| #FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #2a2d93; /* rgb */ color: rgb(42, 45, 147); /* oklch */ color: oklch(36.9% 0.163 273.7);
Tailwind
colors: {
custom: {
50: '#7366b4',
500: '#2a2d93',
950: '#000000',
},
}SCSS
$custom: #2a2d93; $custom-light: #7366b4; $custom-dark: #000000;
JSON
{
"hex": "#2a2d93",
"rgb": {
"r": 42,
"g": 45,
"b": 147
},
"hsl": {
"h": 238.286,
"s": 55.556,
"l": 37.059
},
"oklch": {
"l": 0.36895,
"c": 0.16307,
"h": 273.7
},
"luminance": 0.04476
}Semantic roles & 50–950 ramp
primary
#2A2D93
secondary
#B9B660
accent
#DB49DF
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80