#2B37A3#2B37A3
#2B37A3 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.2% C 0.172 H 271.2°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2B37A3 |
|---|---|
| RGB | rgb(43, 55, 163) |
| HSL | hsl(234, 58%, 40%) |
| HSV | hsv(234, 74%, 64%) |
| CMYK | cmyk(73.6%, 66.3%, 0%, 36.1%) |
| CIE-LAB | lab(29.13, 33.12, -59.59) |
| CIE-LCH | lch(29.13, 68.18, 299.06°) |
| OKLab | oklab(40.24% 0.0036 -0.1723) |
| OKLCH | oklch(40.24% 0.172 271.2) |
| XYZ | xyz(8.9711, 5.8894, 35.3072) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.37
Blueberry
#464196
ΔE00 4.99
Blue Blue
#2242C7
ΔE00 5.61
Ocean Blue
#4F42B5
ΔE00 5.91
Darkslateblue
#483D8B
ΔE00 6.24
Cobalt
#0047AB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B37A3 #A3972B
analogous
#2B73A3 #2B37A3 #5B2BA3
triadic
#2B37A3 #A32B37 #37A32B
tetradic
#2B37A3 #A32B73 #A3972B #2BA35B
square
#2B37A3 #A32B73 #A3972B #2BA35B
split-complementary
#2B37A3 #A35B2B #73A32B
monochromatic
#111642 #1E2773 #2B37A3 #3F4DCC #6F7AD9
Accessibility & contrast
On white
9.64
#2B37A3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#2B37A3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B37A3
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B37A3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B37A3 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA6
Deuteranopia (green-blind)
#003FA1
Tritanopia (blue-blind)
#005468
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #2b37a3; /* rgb */ color: rgb(43, 55, 163); /* oklch */ color: oklch(40.2% 0.172 271.2);
Tailwind
colors: {
custom: {
50: '#766ebf',
500: '#2b37a3',
950: '#000000',
},
}SCSS
$custom: #2b37a3; $custom-light: #766ebf; $custom-dark: #000000;
JSON
{
"hex": "#2b37a3",
"rgb": {
"r": 43,
"g": 55,
"b": 163
},
"hsl": {
"h": 234,
"s": 58.252,
"l": 40.392
},
"oklch": {
"l": 0.40241,
"c": 0.1723,
"h": 271.2
},
"luminance": 0.0589
}Semantic roles & 50–950 ramp
primary
#2B37A3
secondary
#C0B86A
accent
#D246E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81