#2A2D9E#2A2D9E
#2A2D9E is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.177 H 273.0°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D9E |
|---|---|
| RGB | rgb(42, 45, 158) |
| HSL | hsl(238, 58%, 39%) |
| HSV | hsv(238, 73%, 62%) |
| CMYK | cmyk(73.4%, 71.5%, 0%, 38%) |
| CIE-LAB | lab(26.26, 37.52, -61.27) |
| CIE-LCH | lch(26.26, 71.84, 301.48°) |
| OKLab | oklab(38% 0.0092 -0.1772) |
| OKLCH | oklch(38% 0.177 273) |
| XYZ | xyz(8.0627, 4.8368, 32.8498) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.66
Royal
#0C1793
ΔE00 5.47
Indigo Blue
#3A18B1
ΔE00 5.48
Blueberry
#464196
ΔE00 6.59
Cobalt Blue
#030AA7
ΔE00 6.71
Darkslateblue
#483D8B
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D9E #9E9B2A
analogous
#2A679E #2A2D9E #612A9E
triadic
#2A2D9E #9E2A2D #2D9E2A
tetradic
#2A2D9E #9E2A67 #9E9B2A #2A9E61
square
#2A2D9E #9E2A67 #9E9B2A #2A9E61
split-complementary
#2A2D9E #9E612A #679E2A
monochromatic
#10113D #1D1F6E #2A2D9E #3A3ECB #6B6ED8
Accessibility & contrast
On white
10.67
#2A2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#2A2D9E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D9E
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D9E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D9E | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#00399C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #2a2d9e; /* rgb */ color: rgb(42, 45, 158); /* oklch */ color: oklch(38.0% 0.177 273.0);
Tailwind
colors: {
custom: {
50: '#7667bc',
500: '#2a2d9e',
950: '#000000',
},
}SCSS
$custom: #2a2d9e; $custom-light: #7667bc; $custom-dark: #000000;
JSON
{
"hex": "#2a2d9e",
"rgb": {
"r": 42,
"g": 45,
"b": 158
},
"hsl": {
"h": 238.448,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.38002,
"c": 0.17745,
"h": 273
},
"luminance": 0.04838
}Semantic roles & 50–950 ramp
primary
#2A2D9E
secondary
#BEBC66
accent
#DD47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81