#2A2D7C#2A2D7C
#2A2D7C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.131 H 275.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2D7C |
|---|---|
| RGB | rgb(42, 45, 124) |
| HSL | hsl(238, 49%, 33%) |
| HSV | hsv(238, 66%, 49%) |
| CMYK | cmyk(66.1%, 63.7%, 0%, 51.4%) |
| CIE-LAB | lab(23.08, 25.30, -45.38) |
| CIE-LCH | lch(23.08, 51.95, 299.14°) |
| OKLab | oklab(34.71% 0.0126 -0.1307) |
| OKLCH | oklch(34.71% 0.131 275.5) |
| XYZ | xyz(5.5301, 3.8238, 19.5115) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.57
Darkslateblue
#483D8B
ΔE00 6.16
Blueberry
#464196
ΔE00 7.08
Royal
#0C1793
ΔE00 7.21
Sapphire (survey)
#2138AB
ΔE00 7.43
Marine
#042E60
ΔE00 7.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2D7C #7C792A
analogous
#2A567C #2A2D7C #502A7C
triadic
#2A2D7C #7C2A2D #2D7C2A
tetradic
#2A2D7C #7C2A56 #7C792A #2A7C50
square
#2A2D7C #7C2A56 #7C792A #2A7C50
split-complementary
#2A2D7C #7C502A #567C2A
monochromatic
#0B0C21 #1B1C4E #2A2D7C #393EAA #595DC7
Accessibility & contrast
On white
11.90
#2A2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#2A2D7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2D7C
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2D7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2D7C | 1.00 | 11.90 | 1.76 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00337A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #2a2d7c; /* rgb */ color: rgb(42, 45, 124); /* oklch */ color: oklch(34.7% 0.131 275.5);
Tailwind
colors: {
custom: {
50: '#6e66a3',
500: '#2a2d7c',
950: '#000000',
},
}SCSS
$custom: #2a2d7c; $custom-light: #6e66a3; $custom-dark: #000000;
JSON
{
"hex": "#2a2d7c",
"rgb": {
"r": 42,
"g": 45,
"b": 124
},
"hsl": {
"h": 237.805,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.34713,
"c": 0.13129,
"h": 275.5
},
"luminance": 0.03824
}Semantic roles & 50–950 ramp
primary
#2A2D7C
secondary
#ADA955
accent
#D44FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F