#2B37A2#2B37A2
#2B37A2 is a dark, vivid blue. Relative luminance 0.059; OKLCH L 40.1% C 0.171 H 271.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2B37A2 |
|---|---|
| RGB | rgb(43, 55, 162) |
| HSL | hsl(234, 58%, 40%) |
| HSV | hsv(234, 73%, 64%) |
| CMYK | cmyk(73.5%, 66%, 0%, 36.5%) |
| CIE-LAB | lab(29.04, 32.76, -59.14) |
| CIE-LCH | lch(29.04, 67.60, 298.98°) |
| OKLab | oklab(40.15% 0.0037 -0.1709) |
| OKLCH | oklch(40.15% 0.171 271.2) |
| XYZ | xyz(8.8818, 5.8537, 34.8372) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.47
Blueberry
#464196
ΔE00 4.93
Blue Blue
#2242C7
ΔE00 5.72
Ocean Blue
#4F42B5
ΔE00 5.99
Darkslateblue
#483D8B
ΔE00 6.16
Cobalt
#0047AB
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B37A2 #A2962B
analogous
#2B72A2 #2B37A2 #5B2BA2
triadic
#2B37A2 #A22B37 #37A22B
tetradic
#2B37A2 #A22B72 #A2962B #2BA25B
square
#2B37A2 #A22B72 #A2962B #2BA25B
split-complementary
#2B37A2 #A25B2B #72A22B
monochromatic
#111641 #1E2772 #2B37A2 #3E4DCC #6F79D9
Accessibility & contrast
On white
9.67
#2B37A2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#2B37A2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B37A2
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B37A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B37A2 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004AA5
Deuteranopia (green-blind)
#003FA0
Tritanopia (blue-blind)
#005367
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #2b37a2; /* rgb */ color: rgb(43, 55, 162); /* oklch */ color: oklch(40.1% 0.171 271.2);
Tailwind
colors: {
custom: {
50: '#766ebf',
500: '#2b37a2',
950: '#000000',
},
}SCSS
$custom: #2b37a2; $custom-light: #766ebf; $custom-dark: #000000;
JSON
{
"hex": "#2b37a2",
"rgb": {
"r": 43,
"g": 55,
"b": 162
},
"hsl": {
"h": 233.95,
"s": 58.049,
"l": 40.196
},
"oklch": {
"l": 0.40146,
"c": 0.17097,
"h": 271.2
},
"luminance": 0.05855
}Semantic roles & 50–950 ramp
primary
#2B37A2
secondary
#C0B769
accent
#D247E1
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0712
muted
#7C7A81