#2A304A#2A304A
#2A304A is a dark, muted blue. Relative luminance 0.031; OKLCH L 31.6% C 0.047 H 273.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2A304A |
|---|---|
| RGB | rgb(42, 48, 74) |
| HSL | hsl(229, 28%, 23%) |
| HSV | hsv(229, 43%, 29%) |
| CMYK | cmyk(43.2%, 35.1%, 0%, 71%) |
| CIE-LAB | lab(20.44, 5.17, -16.92) |
| CIE-LCH | lch(20.44, 17.70, 286.99°) |
| OKLab | oklab(31.6% 0.0029 -0.0473) |
| OKLCH | oklch(31.6% 0.047 273.5) |
| XYZ | xyz(3.2475, 3.1004, 6.9046) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue
#1B2A4A
ΔE00 3.81
Dark
#1B2431
ΔE00 8.05
Marine
#042E60
ΔE00 8.60
Navy (survey)
#01153E
ΔE00 9.97
Marine Blue
#01386A
ΔE00 10.15
Dark Blue Grey
#1F3B4D
ΔE00 11.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A304A #4A442A
analogous
#2A404A #2A304A #342A4A
triadic
#2A304A #4A2A30 #304A2A
tetradic
#2A304A #4A2A40 #4A442A #2A4A34
square
#2A304A #4A2A40 #4A442A #2A4A34
split-complementary
#2A304A #4A342A #404A2A
monochromatic
#0B0D14 #141723 #2A304A #404971 #566398
Accessibility & contrast
On white
12.96
#2A304A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#2A304A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A304A
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A304A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A304A | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#27334B
Deuteranopia (green-blind)
#253049
Tritanopia (blue-blind)
#203539
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #2a304a; /* rgb */ color: rgb(42, 48, 74); /* oklch */ color: oklch(31.6% 0.047 273.5);
Tailwind
colors: {
custom: {
50: '#65687c',
500: '#2a304a',
950: '#000000',
},
}SCSS
$custom: #2a304a; $custom-light: #65687c; $custom-dark: #000000;
JSON
{
"hex": "#2a304a",
"rgb": {
"r": 42,
"g": 48,
"b": 74
},
"hsl": {
"h": 228.75,
"s": 27.586,
"l": 22.745
},
"oklch": {
"l": 0.31602,
"c": 0.04738,
"h": 273.5
},
"luminance": 0.03101
}Semantic roles & 50–950 ramp
primary
#2A304A
secondary
#7C7454
accent
#B264C4
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#050609
muted
#7A7A7B