#2B37B2#2B37B2
#2B37B2 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.192 H 270.7°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #2B37B2 |
|---|---|
| RGB | rgb(43, 55, 178) |
| HSL | hsl(235, 61%, 43%) |
| HSV | hsv(235, 76%, 70%) |
| CMYK | cmyk(75.8%, 69.1%, 0%, 30.2%) |
| CIE-LAB | lab(30.54, 38.50, -66.27) |
| CIE-LCH | lch(30.54, 76.64, 300.15°) |
| OKLab | oklab(41.7% 0.0022 -0.1918) |
| OKLCH | oklch(41.7% 0.192 270.7) |
| XYZ | xyz(10.3956, 6.4592, 42.8097) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.60
Blue Blue
#2242C7
ΔE00 4.13
Ocean Blue
#4F42B5
ΔE00 5.05
Blue With A Hint Of Purple
#533CC6
ΔE00 5.86
Blueberry
#464196
ΔE00 6.06
Blurple
#5539CC
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2B37B2 #B2A62B
analogous
#2B7AB2 #2B37B2 #622BB2
triadic
#2B37B2 #B22B37 #37B22B
tetradic
#2B37B2 #B22B7A #B2A62B #2BB262
square
#2B37B2 #B22B7A #B2A62B #2BB262
split-complementary
#2B37B2 #B2622B #7AB22B
monochromatic
#13194F #1F2881 #2B37B2 #4854D3 #7982DF
Accessibility & contrast
On white
9.16
#2B37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2B37B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2B37B2
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2B37B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2B37B2 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2b37b2; /* rgb */ color: rgb(43, 55, 178); /* oklch */ color: oklch(41.7% 0.192 270.7);
Tailwind
colors: {
custom: {
50: '#7a6eca',
500: '#2b37b2',
950: '#000000',
},
}SCSS
$custom: #2b37b2; $custom-light: #7a6eca; $custom-dark: #000000;
JSON
{
"hex": "#2b37b2",
"rgb": {
"r": 43,
"g": 55,
"b": 178
},
"hsl": {
"h": 234.667,
"s": 61.086,
"l": 43.333
},
"oklch": {
"l": 0.41696,
"c": 0.1918,
"h": 270.7
},
"luminance": 0.0646
}Semantic roles & 50–950 ramp
primary
#2B37B2
secondary
#C7BF72
accent
#D644E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82