#2A37B4#2A37B4
#2A37B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.8% C 0.195 H 270.3°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37B4 |
|---|---|
| RGB | rgb(42, 55, 180) |
| HSL | hsl(234, 62%, 44%) |
| HSV | hsv(234, 77%, 71%) |
| CMYK | cmyk(76.7%, 69.4%, 0%, 29.4%) |
| CIE-LAB | lab(30.69, 39.11, -67.23) |
| CIE-LCH | lch(30.69, 77.78, 300.19°) |
| OKLab | oklab(41.84% 0.001 -0.1946) |
| OKLCH | oklch(41.84% 0.195 270.3) |
| XYZ | xyz(10.5564, 6.5187, 43.8731) |
| Luminance | 0.0652 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.76
Blue Blue
#2242C7
ΔE00 3.95
Ocean Blue
#4F42B5
ΔE00 5.06
Blue With A Hint Of Purple
#533CC6
ΔE00 5.76
Blueberry
#464196
ΔE00 6.27
Blue (survey)
#0343DF
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37B4 #B4A72A
analogous
#2A7CB4 #2A37B4 #622AB4
triadic
#2A37B4 #B42A37 #37B42A
tetradic
#2A37B4 #B42A7C #B4A72A #2AB462
square
#2A37B4 #B42A7C #B4A72A #2AB462
split-complementary
#2A37B4 #B4622A #7CB42A
monochromatic
#131951 #1E2882 #2A37B4 #4754D4 #7982E0
Accessibility & contrast
On white
9.11
#2A37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.30
#2A37B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37B4
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37B4 | 1.00 | 9.11 | 2.30 | 9.11 |
| #FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a37b4; /* rgb */ color: rgb(42, 55, 180); /* oklch */ color: oklch(41.8% 0.195 270.3);
Tailwind
colors: {
custom: {
50: '#7a6ecc',
500: '#2a37b4',
950: '#000000',
},
}SCSS
$custom: #2a37b4; $custom-light: #7a6ecc; $custom-dark: #000000;
JSON
{
"hex": "#2a37b4",
"rgb": {
"r": 42,
"g": 55,
"b": 180
},
"hsl": {
"h": 234.348,
"s": 62.162,
"l": 43.529
},
"oklch": {
"l": 0.41844,
"c": 0.19461,
"h": 270.3
},
"luminance": 0.0652
}Semantic roles & 50–950 ramp
primary
#2A37B4
secondary
#C8C072
accent
#D643E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82