#2A3671#2A3671
#2A3671 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.102 H 271.6°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3671 |
|---|---|
| RGB | rgb(42, 54, 113) |
| HSL | hsl(230, 46%, 30%) |
| HSV | hsv(230, 63%, 44%) |
| CMYK | cmyk(62.8%, 52.2%, 0%, 55.7%) |
| CIE-LAB | lab(24.71, 14.99, -35.74) |
| CIE-LCH | lch(24.71, 38.75, 292.76°) |
| OKLab | oklab(35.66% 0.0029 -0.1022) |
| OKLCH | oklch(35.66% 0.102 271.6) |
| XYZ | xyz(5.2537, 4.3224, 16.1770) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.50
Marine Blue
#01386A
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.79
Darkish Blue
#014182
ΔE00 7.24
Navy Blue
#1B2A4A
ΔE00 7.46
Blueberry
#464196
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3671 #71652A
analogous
#2A5971 #2A3671 #412A71
triadic
#2A3671 #712A36 #36712A
tetradic
#2A3671 #712A59 #71652A #2A7141
square
#2A3671 #712A59 #71652A #2A7141
split-complementary
#2A3671 #71412A #59712A
monochromatic
#090B18 #192144 #2A3671 #3B4B9E #5567C0
Accessibility & contrast
On white
11.26
#2A3671 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#2A3671 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3671
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3671 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3671 | 1.00 | 11.26 | 1.86 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#093870
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a3671; /* rgb */ color: rgb(42, 54, 113); /* oklch */ color: oklch(35.7% 0.102 271.6);
Tailwind
colors: {
custom: {
50: '#6b6c9a',
500: '#2a3671',
950: '#000000',
},
}SCSS
$custom: #2a3671; $custom-light: #6b6c9a; $custom-dark: #000000;
JSON
{
"hex": "#2a3671",
"rgb": {
"r": 42,
"g": 54,
"b": 113
},
"hsl": {
"h": 229.859,
"s": 45.806,
"l": 30.392
},
"oklch": {
"l": 0.35658,
"c": 0.10228,
"h": 271.6
},
"luminance": 0.04323
}Semantic roles & 50–950 ramp
primary
#2A3671
secondary
#A39654
accent
#BF52D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E