#2A378F#2A378F
#2A378F is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.3% C 0.145 H 271.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #2A378F |
|---|---|
| RGB | rgb(42, 55, 143) |
| HSL | hsl(232, 55%, 36%) |
| HSV | hsv(232, 71%, 56%) |
| CMYK | cmyk(70.6%, 61.5%, 0%, 43.9%) |
| CIE-LAB | lab(27.32, 25.60, -50.35) |
| CIE-LCH | lch(27.32, 56.48, 296.96°) |
| OKLab | oklab(38.35% 0.0034 -0.1452) |
| OKLCH | oklch(38.35% 0.145 271.3) |
| XYZ | xyz(7.2773, 5.2071, 26.6028) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.09
Blueberry
#464196
ΔE00 4.74
Darkslateblue
#483D8B
ΔE00 5.25
Cobalt (survey)
#1E488F
ΔE00 6.94
Cobalt
#0047AB
ΔE00 7.08
Darkish Blue
#014182
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A378F #8F822A
analogous
#2A6A8F #2A378F #502A8F
triadic
#2A378F #8F2A37 #378F2A
tetradic
#2A378F #8F2A6A #8F822A #2A8F50
square
#2A378F #8F2A6A #8F822A #2A8F50
split-complementary
#2A378F #8F502A #6A8F2A
monochromatic
#0E1330 #1C2560 #2A378F #3849BE #6271D1
Accessibility & contrast
On white
10.29
#2A378F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#2A378F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A378F
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A378F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A378F | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #2a378f; /* rgb */ color: rgb(42, 55, 143); /* oklch */ color: oklch(38.3% 0.145 271.3);
Tailwind
colors: {
custom: {
50: '#716db1',
500: '#2a378f',
950: '#000000',
},
}SCSS
$custom: #2a378f; $custom-light: #716db1; $custom-dark: #000000;
JSON
{
"hex": "#2a378f",
"rgb": {
"r": 42,
"g": 55,
"b": 143
},
"hsl": {
"h": 232.277,
"s": 54.595,
"l": 36.275
},
"oklch": {
"l": 0.38347,
"c": 0.14523,
"h": 271.3
},
"luminance": 0.05208
}Semantic roles & 50–950 ramp
primary
#2A378F
secondary
#B7AB5E
accent
#CB4ADE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80