#2A378B#2A378B
#2A378B is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.0% C 0.140 H 271.4°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2A378B |
|---|---|
| RGB | rgb(42, 55, 139) |
| HSL | hsl(232, 54%, 35%) |
| HSV | hsv(232, 70%, 55%) |
| CMYK | cmyk(69.8%, 60.4%, 0%, 45.5%) |
| CIE-LAB | lab(26.98, 24.10, -48.42) |
| CIE-LCH | lch(26.98, 54.08, 296.47°) |
| OKLab | oklab(38% 0.0034 -0.1395) |
| OKLCH | oklch(38% 0.14 271.4) |
| XYZ | xyz(6.9797, 5.0880, 25.0354) |
| Luminance | 0.0509 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.73
Blueberry
#464196
ΔE00 4.90
Darkslateblue
#483D8B
ΔE00 5.21
Cobalt (survey)
#1E488F
ΔE00 6.84
Darkish Blue
#014182
ΔE00 7.22
Cobalt
#0047AB
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A378B #8B7E2A
analogous
#2A678B #2A378B #4D2A8B
triadic
#2A378B #8B2A37 #378B2A
tetradic
#2A378B #8B2A67 #8B7E2A #2A8B4D
square
#2A378B #8B2A67 #8B7E2A #2A8B4D
split-complementary
#2A378B #8B4D2A #678B2A
monochromatic
#0E122D #1C245C #2A378B #384ABA #606FCF
Accessibility & contrast
On white
10.41
#2A378B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#2A378B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A378B
10.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A378B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A378B | 1.00 | 10.41 | 2.02 | 10.41 |
| #FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a378b; /* rgb */ color: rgb(42, 55, 139); /* oklch */ color: oklch(38.0% 0.140 271.4);
Tailwind
colors: {
custom: {
50: '#706dae',
500: '#2a378b',
950: '#000000',
},
}SCSS
$custom: #2a378b; $custom-light: #706dae; $custom-dark: #000000;
JSON
{
"hex": "#2a378b",
"rgb": {
"r": 42,
"g": 55,
"b": 139
},
"hsl": {
"h": 231.959,
"s": 53.591,
"l": 35.49
},
"oklch": {
"l": 0.37996,
"c": 0.13955,
"h": 271.4
},
"luminance": 0.05089
}Semantic roles & 50–950 ramp
primary
#2A378B
secondary
#B5A95C
accent
#C94BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F