#2A379C#2A379C
#2A379C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.163 H 271.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2A379C |
|---|---|
| RGB | rgb(42, 55, 156) |
| HSL | hsl(233, 58%, 39%) |
| HSV | hsv(233, 73%, 61%) |
| CMYK | cmyk(73.1%, 64.7%, 0%, 38.8%) |
| CIE-LAB | lab(28.44, 30.44, -56.47) |
| CIE-LCH | lch(28.44, 64.15, 298.32°) |
| OKLab | oklab(39.53% 0.003 -0.1632) |
| OKLCH | oklch(39.53% 0.163 271) |
| XYZ | xyz(8.3197, 5.6241, 32.0931) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.17
Blueberry
#464196
ΔE00 4.76
Darkslateblue
#483D8B
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 6.43
Ocean Blue
#4F42B5
ΔE00 6.59
Cobalt
#0047AB
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A379C #9C8F2A
analogous
#2A709C #2A379C #562A9C
triadic
#2A379C #9C2A37 #379C2A
tetradic
#2A379C #9C2A70 #9C8F2A #2A9C56
square
#2A379C #9C2A70 #9C8F2A #2A9C56
split-complementary
#2A379C #9C562A #709C2A
monochromatic
#10153C #1D266C #2A379C #394ACA #6A76D7
Accessibility & contrast
On white
9.88
#2A379C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#2A379C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A379C
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A379C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A379C | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00489F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #2a379c; /* rgb */ color: rgb(42, 55, 156); /* oklch */ color: oklch(39.5% 0.163 271.0);
Tailwind
colors: {
custom: {
50: '#746eba',
500: '#2a379c',
950: '#000000',
},
}SCSS
$custom: #2a379c; $custom-light: #746eba; $custom-dark: #000000;
JSON
{
"hex": "#2a379c",
"rgb": {
"r": 42,
"g": 55,
"b": 156
},
"hsl": {
"h": 233.158,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.39527,
"c": 0.16319,
"h": 271
},
"luminance": 0.05625
}Semantic roles & 50–950 ramp
primary
#2A379C
secondary
#BDB365
accent
#CF47E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81