#2A3042#2A3042
#2A3042 is a dark, muted blue. Relative luminance 0.030; OKLCH L 31.2% C 0.034 H 270.1°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3042 |
|---|---|
| RGB | rgb(42, 48, 66) |
| HSL | hsl(225, 22%, 21%) |
| HSV | hsv(225, 36%, 26%) |
| CMYK | cmyk(36.4%, 27.3%, 0%, 74.1%) |
| CIE-LAB | lab(20.04, 2.57, -12.12) |
| CIE-LCH | lch(20.04, 12.39, 281.99°) |
| OKLab | oklab(31.16% 0.0001 -0.0335) |
| OKLCH | oklch(31.16% 0.034 270.1) |
| XYZ | xyz(2.9949, 2.9994, 5.5743) |
| Luminance | 0.0300 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark
#1B2431
ΔE00 5.32
Navy Blue
#1B2A4A
ΔE00 5.92
Gunmetal
#2A3439
ΔE00 8.88
Dark Blue Grey
#1F3B4D
ΔE00 9.18
Onyx
#353839
ΔE00 9.85
Charcoal
#36454F
ΔE00 9.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3042 #423C2A
analogous
#2A3C42 #2A3042 #302A42
triadic
#2A3042 #422A30 #30422A
tetradic
#2A3042 #422A3C #423C2A #2A4230
square
#2A3042 #422A3C #423C2A #2A4230
split-complementary
#2A3042 #42302A #3C422A
monochromatic
#0C0E13 #12151D #2A3042 #424B67 #5A668D
Accessibility & contrast
On white
13.13
#2A3042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#2A3042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3042
13.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3042 | 1.00 | 13.13 | 1.60 | 13.13 |
| #FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3143
Deuteranopia (green-blind)
#282F42
Tritanopia (blue-blind)
#233436
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #2a3042; /* rgb */ color: rgb(42, 48, 66); /* oklch */ color: oklch(31.2% 0.034 270.1);
Tailwind
colors: {
custom: {
50: '#646876',
500: '#2a3042',
950: '#000000',
},
}SCSS
$custom: #2a3042; $custom-light: #646876; $custom-dark: #000000;
JSON
{
"hex": "#2a3042",
"rgb": {
"r": 42,
"g": 48,
"b": 66
},
"hsl": {
"h": 225,
"s": 22.222,
"l": 21.176
},
"oklch": {
"l": 0.31159,
"c": 0.03352,
"h": 270.1
},
"luminance": 0.02999
}Semantic roles & 50–950 ramp
primary
#2A3042
secondary
#736C54
accent
#A969BF
background
#F6F6F7
surface
#EBEBED
border
#C6C6C8
text
#050608
muted
#7A7A7B