#2B37B5#2B37B5
#2B37B5 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.196 H 270.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2B37B5 |
|---|---|
| RGB | rgb(43, 55, 181) |
| HSL | hsl(235, 62%, 44%) |
| HSV | hsv(235, 76%, 71%) |
| CMYK | cmyk(76.2%, 69.6%, 0%, 29%) |
| CIE-LAB | lab(30.83, 39.56, -67.58) |
| CIE-LCH | lch(30.83, 78.31, 300.34°) |
| OKLab | oklab(41.99% 0.0019 -0.1956) |
| OKLCH | oklch(41.99% 0.196 270.6) |
| XYZ | xyz(10.7001, 6.5810, 44.4134) |
| Luminance | 0.0658 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.94
Blue Blue
#2242C7
ΔE00 3.90
Ocean Blue
#4F42B5
ΔE00 4.95
Blue With A Hint Of Purple
#533CC6
ΔE00 5.60
Blurple
#5539CC
ΔE00 6.18
Blue (survey)
#0343DF
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B37B5 #B5A92B
analogous
#2B7CB5 #2B37B5 #642BB5
triadic
#2B37B5 #B52B37 #37B52B
tetradic
#2B37B5 #B52B7C #B5A92B #2BB564
square
#2B37B5 #B52B7C #B5A92B #2BB564
split-complementary
#2B37B5 #B5642B #7CB52B
monochromatic
#141952 #1F2884 #2B37B5 #4955D4 #7B84E0
Accessibility & contrast
On white
9.07
#2B37B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2B37B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B37B5
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B37B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B37B5 | 1.00 | 9.07 | 2.32 | 9.07 |
| #FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0042B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2b37b5; /* rgb */ color: rgb(43, 55, 181); /* oklch */ color: oklch(42.0% 0.196 270.6);
Tailwind
colors: {
custom: {
50: '#7b6ecc',
500: '#2b37b5',
950: '#000000',
},
}SCSS
$custom: #2b37b5; $custom-light: #7b6ecc; $custom-dark: #000000;
JSON
{
"hex": "#2b37b5",
"rgb": {
"r": 43,
"g": 55,
"b": 181
},
"hsl": {
"h": 234.783,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.41994,
"c": 0.19561,
"h": 270.6
},
"luminance": 0.06582
}Semantic roles & 50–950 ramp
primary
#2B37B5
secondary
#C8C074
accent
#D743E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82