#2A3772#2A3772
#2A3772 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.102 H 271.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2A3772 |
|---|---|
| RGB | rgb(42, 55, 114) |
| HSL | hsl(229, 46%, 31%) |
| HSV | hsv(229, 63%, 45%) |
| CMYK | cmyk(63.2%, 51.8%, 0%, 55.3%) |
| CIE-LAB | lab(25.07, 14.67, -35.79) |
| CIE-LCH | lch(25.07, 38.68, 292.29°) |
| OKLab | oklab(35.96% 0.0019 -0.1024) |
| OKLCH | oklch(35.96% 0.102 271.1) |
| XYZ | xyz(5.3573, 4.4391, 16.4908) |
| Luminance | 0.0444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.52
Marine Blue
#01386A
ΔE00 6.19
Darkslateblue
#483D8B
ΔE00 6.77
Darkish Blue
#014182
ΔE00 6.92
Blueberry
#464196
ΔE00 7.41
Cobalt (survey)
#1E488F
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A3772 #72652A
analogous
#2A5B72 #2A3772 #412A72
triadic
#2A3772 #722A37 #37722A
tetradic
#2A3772 #722A5B #72652A #2A7241
square
#2A3772 #722A5B #72652A #2A7241
split-complementary
#2A3772 #72412A #5B722A
monochromatic
#090C19 #1A2145 #2A3772 #3A4D9F #5669C1
Accessibility & contrast
On white
11.12
#2A3772 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#2A3772 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A3772
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A3772 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A3772 | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#183F74
Deuteranopia (green-blind)
#0A3871
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #2a3772; /* rgb */ color: rgb(42, 55, 114); /* oklch */ color: oklch(36.0% 0.102 271.1);
Tailwind
colors: {
custom: {
50: '#6b6d9b',
500: '#2a3772',
950: '#000000',
},
}SCSS
$custom: #2a3772; $custom-light: #6b6d9b; $custom-dark: #000000;
JSON
{
"hex": "#2a3772",
"rgb": {
"r": 42,
"g": 55,
"b": 114
},
"hsl": {
"h": 229.167,
"s": 46.154,
"l": 30.588
},
"oklch": {
"l": 0.35956,
"c": 0.1024,
"h": 271.1
},
"luminance": 0.0444
}Semantic roles & 50–950 ramp
primary
#2A3772
secondary
#A49554
accent
#BE52D6
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E