#2A2F4E#2A2F4E
#2A2F4E is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.056 H 275.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2A2F4E |
|---|---|
| RGB | rgb(42, 47, 78) |
| HSL | hsl(232, 30%, 24%) |
| HSV | hsv(232, 46%, 31%) |
| CMYK | cmyk(46.2%, 39.7%, 0%, 69.4%) |
| CIE-LAB | lab(20.34, 7.22, -19.77) |
| CIE-LCH | lch(20.34, 21.05, 290.07°) |
| OKLab | oklab(31.6% 0.0056 -0.0555) |
| OKLCH | oklch(31.6% 0.056 275.8) |
| XYZ | xyz(3.3461, 3.0752, 7.6235) |
| Luminance | 0.0307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.65
Marine
#042E60
ΔE00 7.94
Navy (survey)
#01153E
ΔE00 9.09
Dark
#1B2431
ΔE00 9.66
Marine Blue
#01386A
ΔE00 9.89
Navy Blue (survey)
#001146
ΔE00 10.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A2F4E #4E492A
analogous
#2A414E #2A2F4E #372A4E
triadic
#2A2F4E #4E2A2F #2F4E2A
tetradic
#2A2F4E #4E2A41 #4E492A #2A4E37
square
#2A2F4E #4E2A41 #4E492A #2A4E37
split-complementary
#2A2F4E #4E372A #414E2A
monochromatic
#0B0C14 #151726 #2A2F4E #3F4776 #555F9E
Accessibility & contrast
On white
13.00
#2A2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2A2F4E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A2F4E
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A2F4E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A2F4E | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#24334F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#1E353A
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2a2f4e; /* rgb */ color: rgb(42, 47, 78); /* oklch */ color: oklch(31.6% 0.056 275.8);
Tailwind
colors: {
custom: {
50: '#65677f',
500: '#2a2f4e',
950: '#000000',
},
}SCSS
$custom: #2a2f4e; $custom-light: #65677f; $custom-dark: #000000;
JSON
{
"hex": "#2a2f4e",
"rgb": {
"r": 42,
"g": 47,
"b": 78
},
"hsl": {
"h": 231.667,
"s": 30,
"l": 23.529
},
"oklch": {
"l": 0.31597,
"c": 0.05582,
"h": 275.8
},
"luminance": 0.03075
}Semantic roles & 50–950 ramp
primary
#2A2F4E
secondary
#807A54
accent
#B862C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C