#2A37B5#2A37B5
#2A37B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.196 H 270.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37B5 |
|---|---|
| RGB | rgb(42, 55, 181) |
| HSL | hsl(234, 62%, 44%) |
| HSV | hsv(234, 77%, 71%) |
| CMYK | cmyk(76.8%, 69.6%, 0%, 29%) |
| CIE-LAB | lab(30.78, 39.47, -67.66) |
| CIE-LCH | lch(30.78, 78.33, 300.25°) |
| OKLab | oklab(41.94% 0.0009 -0.1959) |
| OKLCH | oklch(41.94% 0.196 270.3) |
| XYZ | xyz(10.6587, 6.5596, 44.4115) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.87
Blue Blue
#2242C7
ΔE00 3.88
Ocean Blue
#4F42B5
ΔE00 5.03
Blue With A Hint Of Purple
#533CC6
ΔE00 5.68
Blue (survey)
#0343DF
ΔE00 6.21
Blurple
#5539CC
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37B5 #B5A82A
analogous
#2A7CB5 #2A37B5 #622AB5
triadic
#2A37B5 #B52A37 #37B52A
tetradic
#2A37B5 #B52A7C #B5A82A #2AB562
square
#2A37B5 #B52A7C #B5A82A #2AB562
split-complementary
#2A37B5 #B5622A #7CB52A
monochromatic
#131952 #1E2883 #2A37B5 #4855D4 #7983E0
Accessibility & contrast
On white
9.08
#2A37B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2A37B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37B5
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37B5 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a37b5; /* rgb */ color: rgb(42, 55, 181); /* oklch */ color: oklch(41.9% 0.196 270.3);
Tailwind
colors: {
custom: {
50: '#7b6ecc',
500: '#2a37b5',
950: '#000000',
},
}SCSS
$custom: #2a37b5; $custom-light: #7b6ecc; $custom-dark: #000000;
JSON
{
"hex": "#2a37b5",
"rgb": {
"r": 42,
"g": 55,
"b": 181
},
"hsl": {
"h": 234.388,
"s": 62.332,
"l": 43.725
},
"oklch": {
"l": 0.41944,
"c": 0.19587,
"h": 270.3
},
"luminance": 0.06561
}Semantic roles & 50–950 ramp
primary
#2A37B5
secondary
#C8C073
accent
#D642E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82