#2A378E#2A378E
#2A378E is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.144 H 271.4°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #2A378E |
|---|---|
| RGB | rgb(42, 55, 142) |
| HSL | hsl(232, 54%, 36%) |
| HSV | hsv(232, 70%, 56%) |
| CMYK | cmyk(70.4%, 61.3%, 0%, 44.3%) |
| CIE-LAB | lab(27.23, 25.23, -49.87) |
| CIE-LCH | lch(27.23, 55.89, 296.84°) |
| OKLab | oklab(38.26% 0.0034 -0.1438) |
| OKLCH | oklch(38.26% 0.144 271.4) |
| XYZ | xyz(7.2019, 5.1769, 26.2056) |
| Luminance | 0.0518 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.25
Blueberry
#464196
ΔE00 4.78
Darkslateblue
#483D8B
ΔE00 5.23
Cobalt (survey)
#1E488F
ΔE00 6.91
Cobalt
#0047AB
ΔE00 7.14
Darkish Blue
#014182
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A378E #8E812A
analogous
#2A698E #2A378E #4F2A8E
triadic
#2A378E #8E2A37 #378E2A
tetradic
#2A378E #8E2A69 #8E812A #2A8E4F
square
#2A378E #8E2A69 #8E812A #2A8E4F
split-complementary
#2A378E #8E4F2A #698E2A
monochromatic
#0E1230 #1C255F #2A378E #3849BD #6270D1
Accessibility & contrast
On white
10.32
#2A378E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2A378E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A378E
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A378E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A378E | 1.00 | 10.32 | 2.04 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004591
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a378e; /* rgb */ color: rgb(42, 55, 142); /* oklch */ color: oklch(38.3% 0.144 271.4);
Tailwind
colors: {
custom: {
50: '#716db0',
500: '#2a378e',
950: '#000000',
},
}SCSS
$custom: #2a378e; $custom-light: #716db0; $custom-dark: #000000;
JSON
{
"hex": "#2a378e",
"rgb": {
"r": 42,
"g": 55,
"b": 142
},
"hsl": {
"h": 232.2,
"s": 54.348,
"l": 36.078
},
"oklch": {
"l": 0.38258,
"c": 0.14382,
"h": 271.4
},
"luminance": 0.05178
}Semantic roles & 50–950 ramp
primary
#2A378E
secondary
#B6AB5D
accent
#CB4ADE
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F