#2A37AA#2A37AA
#2A37AA is a dark, vivid blue. Relative luminance 0.061; OKLCH L 40.9% C 0.182 H 270.6°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37AA |
|---|---|
| RGB | rgb(42, 55, 170) |
| HSL | hsl(234, 60%, 42%) |
| HSV | hsv(234, 75%, 67%) |
| CMYK | cmyk(75.3%, 67.6%, 0%, 33.3%) |
| CIE-LAB | lab(29.73, 35.54, -62.83) |
| CIE-LCH | lch(29.73, 72.19, 299.50°) |
| OKLab | oklab(40.86% 0.002 -0.1818) |
| OKLCH | oklch(40.86% 0.182 270.6) |
| XYZ | xyz(9.5743, 6.1259, 38.7002) |
| Luminance | 0.0613 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 0.94
Blue Blue
#2242C7
ΔE00 4.85
Blueberry
#464196
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 5.51
Cobalt
#0047AB
ΔE00 6.67
Blue With A Hint Of Purple
#533CC6
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37AA #AA9D2A
analogous
#2A77AA #2A37AA #5D2AAA
triadic
#2A37AA #AA2A37 #37AA2A
tetradic
#2A37AA #AA2A77 #AA9D2A #2AAA5D
square
#2A37AA #AA2A77 #AA9D2A #2AAA5D
split-complementary
#2A37AA #AA5D2A #77AA2A
monochromatic
#121748 #1E2779 #2A37AA #4150D0 #727DDC
Accessibility & contrast
On white
9.44
#2A37AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#2A37AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37AA
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37AA | 1.00 | 9.44 | 2.23 | 9.44 |
| #FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAE
Deuteranopia (green-blind)
#0040A8
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2a37aa; /* rgb */ color: rgb(42, 55, 170); /* oklch */ color: oklch(40.9% 0.182 270.6);
Tailwind
colors: {
custom: {
50: '#786ec4',
500: '#2a37aa',
950: '#000000',
},
}SCSS
$custom: #2a37aa; $custom-light: #786ec4; $custom-dark: #000000;
JSON
{
"hex": "#2a37aa",
"rgb": {
"r": 42,
"g": 55,
"b": 170
},
"hsl": {
"h": 233.906,
"s": 60.377,
"l": 41.569
},
"oklch": {
"l": 0.40859,
"c": 0.18177,
"h": 270.6
},
"luminance": 0.06127
}Semantic roles & 50–950 ramp
primary
#2A37AA
secondary
#C3BB6C
accent
#D344E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82