#2A2D7B#2A2D7B
#2A2D7B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.6% C 0.130 H 275.6°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D7B |
|---|---|
| RGB | rgb(42, 45, 123) |
| HSL | hsl(238, 49%, 32%) |
| HSV | hsv(238, 66%, 48%) |
| CMYK | cmyk(65.9%, 63.4%, 0%, 51.8%) |
| CIE-LAB | lab(22.99, 24.93, -44.88) |
| CIE-LCH | lch(22.99, 51.34, 299.05°) |
| OKLab | oklab(34.62% 0.0127 -0.1292) |
| OKLCH | oklch(34.62% 0.13 275.6) |
| XYZ | xyz(5.4672, 3.7986, 19.1801) |
| Luminance | 0.0380 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.19
Blueberry
#464196
ΔE00 7.15
Royal
#0C1793
ΔE00 7.34
Sapphire (survey)
#2138AB
ΔE00 7.58
Marine
#042E60
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D7B #7B782A
analogous
#2A557B #2A2D7B #502A7B
triadic
#2A2D7B #7B2A2D #2D7B2A
tetradic
#2A2D7B #7B2A55 #7B782A #2A7B50
square
#2A2D7B #7B2A55 #7B782A #2A7B50
split-complementary
#2A2D7B #7B502A #557B2A
monochromatic
#0B0C20 #1A1C4D #2A2D7B #3A3EA9 #595DC6
Accessibility & contrast
On white
11.93
#2A2D7B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2A2D7B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D7B
11.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D7B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D7B | 1.00 | 11.93 | 1.76 | 11.93 |
| #FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003379
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2a2d7b; /* rgb */ color: rgb(42, 45, 123); /* oklch */ color: oklch(34.6% 0.130 275.6);
Tailwind
colors: {
custom: {
50: '#6e66a2',
500: '#2a2d7b',
950: '#000000',
},
}SCSS
$custom: #2a2d7b; $custom-light: #6e66a2; $custom-dark: #000000;
JSON
{
"hex": "#2a2d7b",
"rgb": {
"r": 42,
"g": 45,
"b": 123
},
"hsl": {
"h": 237.778,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.34623,
"c": 0.12985,
"h": 275.6
},
"luminance": 0.03799
}Semantic roles & 50–950 ramp
primary
#2A2D7B
secondary
#ACA955
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08050F
muted
#7B7A7F