#2A378D#2A378D
#2A378D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.142 H 271.4°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #2A378D |
|---|---|
| RGB | rgb(42, 55, 141) |
| HSL | hsl(232, 54%, 36%) |
| HSV | hsv(232, 70%, 55%) |
| CMYK | cmyk(70.2%, 61%, 0%, 44.7%) |
| CIE-LAB | lab(27.15, 24.85, -49.38) |
| CIE-LCH | lch(27.15, 55.29, 296.72°) |
| OKLab | oklab(38.17% 0.0034 -0.1424) |
| OKLCH | oklch(38.17% 0.142 271.4) |
| XYZ | xyz(7.1271, 5.1470, 25.8120) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.41
Blueberry
#464196
ΔE00 4.81
Darkslateblue
#483D8B
ΔE00 5.22
Cobalt (survey)
#1E488F
ΔE00 6.89
Cobalt
#0047AB
ΔE00 7.20
Darkish Blue
#014182
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A378D #8D802A
analogous
#2A688D #2A378D #4E2A8D
triadic
#2A378D #8D2A37 #378D2A
tetradic
#2A378D #8D2A68 #8D802A #2A8D4E
square
#2A378D #8D2A68 #8D802A #2A8D4E
split-complementary
#2A378D #8D4E2A #688D2A
monochromatic
#0E122F #1C255E #2A378D #3849BC #6170D0
Accessibility & contrast
On white
10.35
#2A378D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#2A378D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A378D
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A378D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A378D | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #2a378d; /* rgb */ color: rgb(42, 55, 141); /* oklch */ color: oklch(38.2% 0.142 271.4);
Tailwind
colors: {
custom: {
50: '#716daf',
500: '#2a378d',
950: '#000000',
},
}SCSS
$custom: #2a378d; $custom-light: #716daf; $custom-dark: #000000;
JSON
{
"hex": "#2a378d",
"rgb": {
"r": 42,
"g": 55,
"b": 141
},
"hsl": {
"h": 232.121,
"s": 54.098,
"l": 35.882
},
"oklch": {
"l": 0.3817,
"c": 0.1424,
"h": 271.4
},
"luminance": 0.05148
}Semantic roles & 50–950 ramp
primary
#2A378D
secondary
#B6AA5D
accent
#CA4ADD
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090710
muted
#7B7A7F