#2A37B0#2A37B0
#2A37B0 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.4% C 0.190 H 270.4°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37B0 |
|---|---|
| RGB | rgb(42, 55, 176) |
| HSL | hsl(234, 61%, 43%) |
| HSV | hsv(234, 76%, 69%) |
| CMYK | cmyk(76.1%, 68.8%, 0%, 31%) |
| CIE-LAB | lab(30.30, 37.69, -65.48) |
| CIE-LCH | lch(30.30, 75.56, 299.92°) |
| OKLab | oklab(41.45% 0.0014 -0.1895) |
| OKLCH | oklch(41.45% 0.19 270.4) |
| XYZ | xyz(10.1548, 6.3581, 41.7579) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.32
Blue Blue
#2242C7
ΔE00 4.28
Ocean Blue
#4F42B5
ΔE00 5.20
Blueberry
#464196
ΔE00 5.94
Blue With A Hint Of Purple
#533CC6
ΔE00 6.13
Blue (survey)
#0343DF
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37B0 #B0A32A
analogous
#2A7AB0 #2A37B0 #602AB0
triadic
#2A37B0 #B02A37 #37B02A
tetradic
#2A37B0 #B02A7A #B0A32A #2AB060
square
#2A37B0 #B02A7A #B0A32A #2AB060
split-complementary
#2A37B0 #B0602A #7AB02A
monochromatic
#12184D #1E287F #2A37B0 #4552D3 #7680DE
Accessibility & contrast
On white
9.24
#2A37B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#2A37B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37B0
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37B0 | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0041AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #2a37b0; /* rgb */ color: rgb(42, 55, 176); /* oklch */ color: oklch(41.4% 0.190 270.4);
Tailwind
colors: {
custom: {
50: '#796ec9',
500: '#2a37b0',
950: '#000000',
},
}SCSS
$custom: #2a37b0; $custom-light: #796ec9; $custom-dark: #000000;
JSON
{
"hex": "#2a37b0",
"rgb": {
"r": 42,
"g": 55,
"b": 176
},
"hsl": {
"h": 234.179,
"s": 61.468,
"l": 42.745
},
"oklch": {
"l": 0.41447,
"c": 0.18952,
"h": 270.4
},
"luminance": 0.06359
}Semantic roles & 50–950 ramp
primary
#2A37B0
secondary
#C6BE70
accent
#D543E5
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82