#2A37A0#2A37A0
#2A37A0 is a dark, vivid blue. Relative luminance 0.058; OKLCH L 39.9% C 0.169 H 270.9°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37A0 |
|---|---|
| RGB | rgb(42, 55, 160) |
| HSL | hsl(233, 58%, 40%) |
| HSV | hsv(233, 74%, 63%) |
| CMYK | cmyk(73.8%, 65.6%, 0%, 37.3%) |
| CIE-LAB | lab(28.80, 31.91, -58.31) |
| CIE-LCH | lch(28.80, 66.47, 298.69°) |
| OKLab | oklab(39.9% 0.0027 -0.1685) |
| OKLCH | oklch(39.9% 0.169 270.9) |
| XYZ | xyz(8.6640, 5.7618, 33.9064) |
| Luminance | 0.0576 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.65
Blueberry
#464196
ΔE00 4.91
Blue Blue
#2242C7
ΔE00 5.94
Darkslateblue
#483D8B
ΔE00 6.09
Ocean Blue
#4F42B5
ΔE00 6.23
Cobalt
#0047AB
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37A0 #A0932A
analogous
#2A72A0 #2A37A0 #582AA0
triadic
#2A37A0 #A02A37 #37A02A
tetradic
#2A37A0 #A02A72 #A0932A #2AA058
square
#2A37A0 #A02A72 #A0932A #2AA058
split-complementary
#2A37A0 #A0582A #72A02A
monochromatic
#11163F #1D2670 #2A37A0 #3C4BCC #6C78D8
Accessibility & contrast
On white
9.76
#2A37A0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#2A37A0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37A0
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37A0 | 1.00 | 9.76 | 2.15 | 9.76 |
| #FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA3
Deuteranopia (green-blind)
#003E9E
Tritanopia (blue-blind)
#005366
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2a37a0; /* rgb */ color: rgb(42, 55, 160); /* oklch */ color: oklch(39.9% 0.169 270.9);
Tailwind
colors: {
custom: {
50: '#756ebd',
500: '#2a37a0',
950: '#000000',
},
}SCSS
$custom: #2a37a0; $custom-light: #756ebd; $custom-dark: #000000;
JSON
{
"hex": "#2a37a0",
"rgb": {
"r": 42,
"g": 55,
"b": 160
},
"hsl": {
"h": 233.39,
"s": 58.416,
"l": 39.608
},
"oklch": {
"l": 0.39902,
"c": 0.16857,
"h": 270.9
},
"luminance": 0.05763
}Semantic roles & 50–950 ramp
primary
#2A37A0
secondary
#BFB567
accent
#D146E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81