#2A37B2#2A37B2
#2A37B2 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.192 H 270.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2A37B2 |
|---|---|
| RGB | rgb(42, 55, 178) |
| HSL | hsl(234, 62%, 43%) |
| HSV | hsv(234, 76%, 70%) |
| CMYK | cmyk(76.4%, 69.1%, 0%, 30.2%) |
| CIE-LAB | lab(30.49, 38.40, -66.36) |
| CIE-LCH | lch(30.49, 76.67, 300.06°) |
| OKLab | oklab(41.65% 0.0012 -0.1921) |
| OKLCH | oklch(41.65% 0.192 270.4) |
| XYZ | xyz(10.3542, 6.4378, 42.8078) |
| Luminance | 0.0644 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.53
Blue Blue
#2242C7
ΔE00 4.11
Ocean Blue
#4F42B5
ΔE00 5.12
Blue With A Hint Of Purple
#533CC6
ΔE00 5.94
Blueberry
#464196
ΔE00 6.10
Blue (survey)
#0343DF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2A37B2 #B2A52A
analogous
#2A7BB2 #2A37B2 #612AB2
triadic
#2A37B2 #B22A37 #37B22A
tetradic
#2A37B2 #B22A7B #B2A52A #2AB261
square
#2A37B2 #B22A7B #B2A52A #2AB261
split-complementary
#2A37B2 #B2612A #7BB22A
monochromatic
#13184F #1E2880 #2A37B2 #4653D3 #7781DF
Accessibility & contrast
On white
9.18
#2A37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2A37B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2A37B2
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2A37B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2A37B2 | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2a37b2; /* rgb */ color: rgb(42, 55, 178); /* oklch */ color: oklch(41.6% 0.192 270.4);
Tailwind
colors: {
custom: {
50: '#7a6eca',
500: '#2a37b2',
950: '#000000',
},
}SCSS
$custom: #2a37b2; $custom-light: #7a6eca; $custom-dark: #000000;
JSON
{
"hex": "#2a37b2",
"rgb": {
"r": 42,
"g": 55,
"b": 178
},
"hsl": {
"h": 234.265,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.41645,
"c": 0.19207,
"h": 270.4
},
"luminance": 0.06439
}Semantic roles & 50–950 ramp
primary
#2A37B2
secondary
#C7BF71
accent
#D543E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82