#2A2E5C#2A2E5C
#2A2E5C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.081 H 277.1°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2E5C |
|---|---|
| RGB | rgb(42, 46, 92) |
| HSL | hsl(235, 37%, 26%) |
| HSV | hsv(235, 54%, 36%) |
| CMYK | cmyk(54.3%, 50%, 0%, 63.9%) |
| CIE-LAB | lab(20.90, 12.86, -28.21) |
| CIE-LCH | lch(20.90, 31.01, 294.50°) |
| OKLab | oklab(32.3% 0.01 -0.0802) |
| OKLCH | oklch(32.3% 0.081 277.1) |
| XYZ | xyz(3.8630, 3.2187, 10.5409) |
| Luminance | 0.0322 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 5.11
Marine
#042E60
ΔE00 6.43
Navy (survey)
#01153E
ΔE00 8.53
Marine Blue
#01386A
ΔE00 8.84
Midnight Blue
#191970
ΔE00 9.12
Navy Blue (survey)
#001146
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2E5C #5C582A
analogous
#2A475C #2A2E5C #3F2A5C
triadic
#2A2E5C #5C2A2E #2E5C2A
tetradic
#2A2E5C #5C2A47 #5C582A #2A5C3F
square
#2A2E5C #5C2A47 #5C582A #2A5C3F
split-complementary
#2A2E5C #5C3F2A #475C2A
monochromatic
#0A0B15 #171932 #2A2E5C #3D4386 #5158B0
Accessibility & contrast
On white
12.78
#2A2E5C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#2A2E5C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2E5C
12.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2E5C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2E5C | 1.00 | 12.78 | 1.64 | 12.78 |
| #FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A345E
Deuteranopia (green-blind)
#15305B
Tritanopia (blue-blind)
#163840
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #2a2e5c; /* rgb */ color: rgb(42, 46, 92); /* oklch */ color: oklch(32.3% 0.081 277.1);
Tailwind
colors: {
custom: {
50: '#68668a',
500: '#2a2e5c',
950: '#000000',
},
}SCSS
$custom: #2a2e5c; $custom-light: #68668a; $custom-dark: #000000;
JSON
{
"hex": "#2a2e5c",
"rgb": {
"r": 42,
"g": 46,
"b": 92
},
"hsl": {
"h": 235.2,
"s": 37.313,
"l": 26.275
},
"oklch": {
"l": 0.32303,
"c": 0.08083,
"h": 277.1
},
"luminance": 0.03219
}Semantic roles & 50–950 ramp
primary
#2A2E5C
secondary
#8E8A53
accent
#C45BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D