#2A2D8F#2A2D8F
#2A2D8F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.158 H 274.0°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D8F |
|---|---|
| RGB | rgb(42, 45, 143) |
| HSL | hsl(238, 55%, 36%) |
| HSV | hsv(238, 71%, 56%) |
| CMYK | cmyk(70.6%, 68.5%, 0%, 43.9%) |
| CIE-LAB | lab(24.80, 32.20, -54.46) |
| CIE-LCH | lch(24.80, 63.27, 300.60°) |
| OKLab | oklab(36.5% 0.0111 -0.1573) |
| OKLCH | oklch(36.5% 0.158 274) |
| XYZ | xyz(6.8495, 4.3515, 26.4602) |
| Luminance | 0.0435 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.93
Royal
#0C1793
ΔE00 5.55
Darkslateblue
#483D8B
ΔE00 6.22
Blueberry
#464196
ΔE00 6.37
Midnight Blue
#191970
ΔE00 6.58
Indigo Blue
#3A18B1
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D8F #8F8C2A
analogous
#2A608F #2A2D8F #5A2A8F
triadic
#2A2D8F #8F2A2D #2D8F2A
tetradic
#2A2D8F #8F2A60 #8F8C2A #2A8F5A
square
#2A2D8F #8F2A60 #8F8C2A #2A8F5A
split-complementary
#2A2D8F #8F5A2A #608F2A
monochromatic
#0E0F30 #1C1E60 #2A2D8F #383CBE #6266D1
Accessibility & contrast
On white
11.23
#2A2D8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#2A2D8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D8F
11.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D8F | 1.00 | 11.23 | 1.87 | 11.23 |
| #FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a2d8f; /* rgb */ color: rgb(42, 45, 143); /* oklch */ color: oklch(36.5% 0.158 274.0);
Tailwind
colors: {
custom: {
50: '#7266b1',
500: '#2a2d8f',
950: '#000000',
},
}SCSS
$custom: #2a2d8f; $custom-light: #7266b1; $custom-dark: #000000;
JSON
{
"hex": "#2a2d8f",
"rgb": {
"r": 42,
"g": 45,
"b": 143
},
"hsl": {
"h": 238.218,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.36502,
"c": 0.15771,
"h": 274
},
"luminance": 0.04352
}Semantic roles & 50–950 ramp
primary
#2A2D8F
secondary
#B7B45E
accent
#DA4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80