#2A37B8#2A37B8
#2A37B8 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.200 H 270.2°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37B8 |
|---|---|
| RGB | rgb(42, 55, 184) |
| HSL | hsl(235, 63%, 44%) |
| HSV | hsv(235, 77%, 72%) |
| CMYK | cmyk(77.2%, 70.1%, 0%, 27.8%) |
| CIE-LAB | lab(31.08, 40.52, -68.96) |
| CIE-LCH | lch(31.08, 79.98, 300.44°) |
| OKLab | oklab(42.25% 0.0006 -0.1996) |
| OKLCH | oklch(42.25% 0.2 270.2) |
| XYZ | xyz(10.9698, 6.6841, 46.0501) |
| Luminance | 0.0669 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.24
Blue Blue
#2242C7
ΔE00 3.68
Ocean Blue
#4F42B5
ΔE00 4.96
Blue With A Hint Of Purple
#533CC6
ΔE00 5.43
Blue (survey)
#0343DF
ΔE00 5.89
Blurple
#5539CC
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37B8 #B8AB2A
analogous
#2A7EB8 #2A37B8 #642AB8
triadic
#2A37B8 #B82A37 #37B82A
tetradic
#2A37B8 #B82A7E #B8AB2A #2AB864
square
#2A37B8 #B82A7E #B8AB2A #2AB864
split-complementary
#2A37B8 #B8642A #7EB82A
monochromatic
#131954 #1F2886 #2A37B8 #4A56D6 #7B85E1
Accessibility & contrast
On white
8.99
#2A37B8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.34
#2A37B8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37B8
8.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37B8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37B8 | 1.00 | 8.99 | 2.34 | 8.99 |
| #FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050BC
Deuteranopia (green-blind)
#0042B6
Tritanopia (blue-blind)
#005B73
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2a37b8; /* rgb */ color: rgb(42, 55, 184); /* oklch */ color: oklch(42.2% 0.200 270.2);
Tailwind
colors: {
custom: {
50: '#7b6ecf',
500: '#2a37b8',
950: '#000000',
},
}SCSS
$custom: #2a37b8; $custom-light: #7b6ecf; $custom-dark: #000000;
JSON
{
"hex": "#2a37b8",
"rgb": {
"r": 42,
"g": 55,
"b": 184
},
"hsl": {
"h": 234.507,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.42245,
"c": 0.19965,
"h": 270.2
},
"luminance": 0.06685
}Semantic roles & 50–950 ramp
primary
#2A37B8
secondary
#C9C175
accent
#D742E6
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82