#2A379E#2A379E
#2A379E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.166 H 271.0°. Best body text is #FFFFFF at 9.82:1 contrast (WCAG AA passes).
Color values
| HEX | #2A379E |
|---|---|
| RGB | rgb(42, 55, 158) |
| HSL | hsl(233, 58%, 39%) |
| HSV | hsv(233, 73%, 62%) |
| CMYK | cmyk(73.4%, 65.2%, 0%, 38%) |
| CIE-LAB | lab(28.62, 31.17, -57.40) |
| CIE-LCH | lch(28.62, 65.32, 298.51°) |
| OKLab | oklab(39.71% 0.0029 -0.1659) |
| OKLCH | oklch(39.71% 0.166 271) |
| XYZ | xyz(8.4905, 5.6924, 32.9924) |
| Luminance | 0.0569 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.90
Blueberry
#464196
ΔE00 4.83
Darkslateblue
#483D8B
ΔE00 5.95
Blue Blue
#2242C7
ΔE00 6.18
Ocean Blue
#4F42B5
ΔE00 6.41
Cobalt
#0047AB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A379E #9E912A
analogous
#2A719E #2A379E #572A9E
triadic
#2A379E #9E2A37 #379E2A
tetradic
#2A379E #9E2A71 #9E912A #2A9E57
square
#2A379E #9E2A71 #9E912A #2A9E57
split-complementary
#2A379E #9E572A #719E2A
monochromatic
#10153D #1D266E #2A379E #3A4BCB #6B77D8
Accessibility & contrast
On white
9.82
#2A379E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.14
#2A379E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A379E
9.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A379E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A379E | 1.00 | 9.82 | 2.14 | 9.82 |
| #FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a379e; /* rgb */ color: rgb(42, 55, 158); /* oklch */ color: oklch(39.7% 0.166 271.0);
Tailwind
colors: {
custom: {
50: '#756ebc',
500: '#2a379e',
950: '#000000',
},
}SCSS
$custom: #2a379e; $custom-light: #756ebc; $custom-dark: #000000;
JSON
{
"hex": "#2a379e",
"rgb": {
"r": 42,
"g": 55,
"b": 158
},
"hsl": {
"h": 233.276,
"s": 58,
"l": 39.216
},
"oklch": {
"l": 0.39714,
"c": 0.16588,
"h": 271
},
"luminance": 0.05693
}Semantic roles & 50–950 ramp
primary
#2A379E
secondary
#BEB466
accent
#D047E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81