#2A37A5#2A37A5
#2A37A5 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.4% C 0.175 H 270.8°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37A5 |
|---|---|
| RGB | rgb(42, 55, 165) |
| HSL | hsl(234, 59%, 41%) |
| HSV | hsv(234, 75%, 65%) |
| CMYK | cmyk(74.5%, 66.7%, 0%, 35.3%) |
| CIE-LAB | lab(29.26, 33.73, -60.59) |
| CIE-LCH | lch(29.26, 69.34, 299.11°) |
| OKLab | oklab(40.38% 0.0024 -0.1752) |
| OKLCH | oklch(40.38% 0.175 270.8) |
| XYZ | xyz(9.1103, 5.9403, 36.2565) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.12
Blueberry
#464196
ΔE00 5.17
Blue Blue
#2242C7
ΔE00 5.37
Ocean Blue
#4F42B5
ΔE00 5.84
Darkslateblue
#483D8B
ΔE00 6.47
Cobalt
#0047AB
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37A5 #A5982A
analogous
#2A74A5 #2A37A5 #5B2AA5
triadic
#2A37A5 #A52A37 #37A52A
tetradic
#2A37A5 #A52A74 #A5982A #2AA55B
square
#2A37A5 #A52A74 #A5982A #2AA55B
split-complementary
#2A37A5 #A55B2A #74A52A
monochromatic
#111643 #1E2774 #2A37A5 #3E4DCE #6F7ADA
Accessibility & contrast
On white
9.60
#2A37A5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2A37A5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37A5
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37A5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37A5 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA8
Deuteranopia (green-blind)
#003FA3
Tritanopia (blue-blind)
#005469
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2a37a5; /* rgb */ color: rgb(42, 55, 165); /* oklch */ color: oklch(40.4% 0.175 270.8);
Tailwind
colors: {
custom: {
50: '#776ec1',
500: '#2a37a5',
950: '#000000',
},
}SCSS
$custom: #2a37a5; $custom-light: #776ec1; $custom-dark: #000000;
JSON
{
"hex": "#2a37a5",
"rgb": {
"r": 42,
"g": 55,
"b": 165
},
"hsl": {
"h": 233.659,
"s": 59.42,
"l": 40.588
},
"oklch": {
"l": 0.40377,
"c": 0.17522,
"h": 270.8
},
"luminance": 0.05941
}Semantic roles & 50–950 ramp
primary
#2A37A5
secondary
#C1B869
accent
#D245E3
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0712
muted
#7C7A81