#2B37B4#2B37B4
#2B37B4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.9% C 0.194 H 270.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #2B37B4 |
|---|---|
| RGB | rgb(43, 55, 180) |
| HSL | hsl(235, 61%, 44%) |
| HSV | hsv(235, 76%, 71%) |
| CMYK | cmyk(76.1%, 69.4%, 0%, 29.4%) |
| CIE-LAB | lab(30.74, 39.21, -67.14) |
| CIE-LCH | lch(30.74, 77.75, 300.28°) |
| OKLab | oklab(41.9% 0.002 -0.1943) |
| OKLCH | oklch(41.9% 0.194 270.6) |
| XYZ | xyz(10.5979, 6.5401, 43.8750) |
| Luminance | 0.0654 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.82
Blue Blue
#2242C7
ΔE00 3.97
Ocean Blue
#4F42B5
ΔE00 4.98
Blue With A Hint Of Purple
#533CC6
ΔE00 5.69
Blueberry
#464196
ΔE00 6.23
Blurple
#5539CC
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B37B4 #B4A82B
analogous
#2B7BB4 #2B37B4 #632BB4
triadic
#2B37B4 #B42B37 #37B42B
tetradic
#2B37B4 #B42B7B #B4A82B #2BB463
square
#2B37B4 #B42B7B #B4A82B #2BB463
split-complementary
#2B37B4 #B4632B #7BB42B
monochromatic
#131951 #1F2883 #2B37B4 #4955D3 #7A83DF
Accessibility & contrast
On white
9.10
#2B37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2B37B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B37B4
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B37B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B37B4 | 1.00 | 9.10 | 2.31 | 9.10 |
| #FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b37b4; /* rgb */ color: rgb(43, 55, 180); /* oklch */ color: oklch(41.9% 0.194 270.6);
Tailwind
colors: {
custom: {
50: '#7b6ecc',
500: '#2b37b4',
950: '#000000',
},
}SCSS
$custom: #2b37b4; $custom-light: #7b6ecc; $custom-dark: #000000;
JSON
{
"hex": "#2b37b4",
"rgb": {
"r": 43,
"g": 55,
"b": 180
},
"hsl": {
"h": 234.745,
"s": 61.435,
"l": 43.725
},
"oklch": {
"l": 0.41895,
"c": 0.19435,
"h": 270.6
},
"luminance": 0.06541
}Semantic roles & 50–950 ramp
primary
#2B37B4
secondary
#C7C073
accent
#D643E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82