#2B37AB#2B37AB
#2B37AB is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.0% C 0.183 H 270.9°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #2B37AB |
|---|---|
| RGB | rgb(43, 55, 171) |
| HSL | hsl(234, 60%, 42%) |
| HSV | hsv(234, 75%, 67%) |
| CMYK | cmyk(74.9%, 67.8%, 0%, 32.9%) |
| CIE-LAB | lab(29.88, 36.01, -63.19) |
| CIE-LCH | lch(29.88, 72.73, 299.68°) |
| OKLab | oklab(41.01% 0.0029 -0.1828) |
| OKLCH | oklch(41.01% 0.183 270.9) |
| XYZ | xyz(9.7106, 6.1852, 39.2023) |
| Luminance | 0.0619 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.06
Blue Blue
#2242C7
ΔE00 4.76
Ocean Blue
#4F42B5
ΔE00 5.37
Blueberry
#464196
ΔE00 5.51
Blue With A Hint Of Purple
#533CC6
ΔE00 6.55
Cobalt
#0047AB
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B37AB #AB9F2B
analogous
#2B77AB #2B37AB #5F2BAB
triadic
#2B37AB #AB2B37 #37AB2B
tetradic
#2B37AB #AB2B77 #AB9F2B #2BAB5F
square
#2B37AB #AB2B77 #AB9F2B #2BAB5F
split-complementary
#2B37AB #AB5F2B #77AB2B
monochromatic
#121849 #1F277A #2B37AB #4351D0 #747EDC
Accessibility & contrast
On white
9.39
#2B37AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#2B37AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B37AB
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B37AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B37AB | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004CAF
Deuteranopia (green-blind)
#0040A9
Tritanopia (blue-blind)
#00566C
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #2b37ab; /* rgb */ color: rgb(43, 55, 171); /* oklch */ color: oklch(41.0% 0.183 270.9);
Tailwind
colors: {
custom: {
50: '#786ec5',
500: '#2b37ab',
950: '#000000',
},
}SCSS
$custom: #2b37ab; $custom-light: #786ec5; $custom-dark: #000000;
JSON
{
"hex": "#2b37ab",
"rgb": {
"r": 43,
"g": 55,
"b": 171
},
"hsl": {
"h": 234.375,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.41009,
"c": 0.1828,
"h": 270.9
},
"luminance": 0.06186
}Semantic roles & 50–950 ramp
primary
#2B37AB
secondary
#C4BC6E
accent
#D445E3
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82