#2B37A4#2B37A4
#2B37A4 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.3% C 0.174 H 271.2°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2B37A4 |
|---|---|
| RGB | rgb(43, 55, 164) |
| HSL | hsl(234, 58%, 41%) |
| HSV | hsv(234, 74%, 64%) |
| CMYK | cmyk(73.8%, 66.5%, 0%, 35.7%) |
| CIE-LAB | lab(29.22, 33.48, -60.04) |
| CIE-LCH | lch(29.22, 68.75, 299.14°) |
| OKLab | oklab(40.34% 0.0035 -0.1736) |
| OKLCH | oklch(40.34% 0.174 271.2) |
| XYZ | xyz(9.0610, 5.9254, 35.7809) |
| Luminance | 0.0593 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.28
Blueberry
#464196
ΔE00 5.04
Blue Blue
#2242C7
ΔE00 5.49
Ocean Blue
#4F42B5
ΔE00 5.83
Darkslateblue
#483D8B
ΔE00 6.32
Cobalt
#0047AB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B37A4 #A4982B
analogous
#2B73A4 #2B37A4 #5C2BA4
triadic
#2B37A4 #A42B37 #37A42B
tetradic
#2B37A4 #A42B73 #A4982B #2BA45C
square
#2B37A4 #A42B73 #A4982B #2BA45C
split-complementary
#2B37A4 #A45C2B #73A42B
monochromatic
#121643 #1E2774 #2B37A4 #3F4DCD #707AD9
Accessibility & contrast
On white
9.61
#2B37A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#2B37A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B37A4
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B37A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B37A4 | 1.00 | 9.61 | 2.19 | 9.61 |
| #FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BA7
Deuteranopia (green-blind)
#003FA2
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b37a4; /* rgb */ color: rgb(43, 55, 164); /* oklch */ color: oklch(40.3% 0.174 271.2);
Tailwind
colors: {
custom: {
50: '#776ec0',
500: '#2b37a4',
950: '#000000',
},
}SCSS
$custom: #2b37a4; $custom-light: #776ec0; $custom-dark: #000000;
JSON
{
"hex": "#2b37a4",
"rgb": {
"r": 43,
"g": 55,
"b": 164
},
"hsl": {
"h": 234.05,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.40336,
"c": 0.17363,
"h": 271.2
},
"luminance": 0.05926
}Semantic roles & 50–950 ramp
primary
#2B37A4
secondary
#C1B86A
accent
#D246E2
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81