#2A37A6#2A37A6
#2A37A6 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.5% C 0.177 H 270.7°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37A6 |
|---|---|
| RGB | rgb(42, 55, 166) |
| HSL | hsl(234, 60%, 41%) |
| HSV | hsv(234, 75%, 65%) |
| CMYK | cmyk(74.7%, 66.9%, 0%, 34.9%) |
| CIE-LAB | lab(29.35, 34.09, -61.04) |
| CIE-LCH | lch(29.35, 69.92, 299.19°) |
| OKLab | oklab(40.47% 0.0023 -0.1765) |
| OKLCH | oklch(40.47% 0.177 270.7) |
| XYZ | xyz(9.2016, 5.9768, 36.7377) |
| Luminance | 0.0598 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.05
Blueberry
#464196
ΔE00 5.23
Blue Blue
#2242C7
ΔE00 5.26
Ocean Blue
#4F42B5
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 6.55
Cobalt
#0047AB
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37A6 #A6992A
analogous
#2A75A6 #2A37A6 #5B2AA6
triadic
#2A37A6 #A62A37 #37A62A
tetradic
#2A37A6 #A62A75 #A6992A #2AA65B
square
#2A37A6 #A62A75 #A6992A #2AA65B
split-complementary
#2A37A6 #A65B2A #75A62A
monochromatic
#111744 #1E2775 #2A37A6 #3F4ECE #707BDB
Accessibility & contrast
On white
9.56
#2A37A6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#2A37A6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37A6
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37A6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37A6 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA9
Deuteranopia (green-blind)
#003FA4
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a37a6; /* rgb */ color: rgb(42, 55, 166); /* oklch */ color: oklch(40.5% 0.177 270.7);
Tailwind
colors: {
custom: {
50: '#776ec1',
500: '#2a37a6',
950: '#000000',
},
}SCSS
$custom: #2a37a6; $custom-light: #776ec1; $custom-dark: #000000;
JSON
{
"hex": "#2a37a6",
"rgb": {
"r": 42,
"g": 55,
"b": 166
},
"hsl": {
"h": 233.71,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.40473,
"c": 0.17653,
"h": 270.7
},
"luminance": 0.05978
}Semantic roles & 50–950 ramp
primary
#2A37A6
secondary
#C2B96A
accent
#D245E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81