#2F37B5#2F37B5
#2F37B5 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.2% C 0.195 H 271.8°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F37B5 |
|---|---|
| RGB | rgb(47, 55, 181) |
| HSL | hsl(236, 59%, 45%) |
| HSV | hsv(236, 74%, 71%) |
| CMYK | cmyk(74%, 69.6%, 0%, 29%) |
| CIE-LAB | lab(31.05, 39.95, -67.22) |
| CIE-LCH | lch(31.05, 78.19, 300.73°) |
| OKLab | oklab(42.21% 0.0062 -0.1945) |
| OKLCH | oklch(42.21% 0.195 271.8) |
| XYZ | xyz(10.8761, 6.6718, 44.4217) |
| Luminance | 0.0667 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.23
Blue Blue
#2242C7
ΔE00 3.99
Ocean Blue
#4F42B5
ΔE00 4.65
Blue With A Hint Of Purple
#533CC6
ΔE00 5.27
Blurple
#5539CC
ΔE00 5.86
Blueberry
#464196
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F37B5 #B5AD2F
analogous
#2F7AB5 #2F37B5 #6A2FB5
triadic
#2F37B5 #B52F37 #37B52F
tetradic
#2F37B5 #B52F7A #B5AD2F #2FB56A
square
#2F37B5 #B52F7A #B5AD2F #2FB56A
split-complementary
#2F37B5 #B56A2F #7AB52F
monochromatic
#161954 #222884 #2F37B5 #5057D1 #8086DE
Accessibility & contrast
On white
9.00
#2F37B5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F37B5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F37B5
9.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F37B5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F37B5 | 1.00 | 9.00 | 2.33 | 9.00 |
| #FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB9
Deuteranopia (green-blind)
#0043B3
Tritanopia (blue-blind)
#005A72
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f37b5; /* rgb */ color: rgb(47, 55, 181); /* oklch */ color: oklch(42.2% 0.195 271.8);
Tailwind
colors: {
custom: {
50: '#7c6ecc',
500: '#2f37b5',
950: '#000000',
},
}SCSS
$custom: #2f37b5; $custom-light: #7c6ecc; $custom-dark: #000000;
JSON
{
"hex": "#2f37b5",
"rgb": {
"r": 47,
"g": 55,
"b": 181
},
"hsl": {
"h": 236.418,
"s": 58.772,
"l": 44.706
},
"oklch": {
"l": 0.42207,
"c": 0.19457,
"h": 271.8
},
"luminance": 0.06673
}Semantic roles & 50–950 ramp
primary
#2F37B5
secondary
#C7C279
accent
#D946E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82