#2F37B0#2F37B0
#2F37B0 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.7% C 0.188 H 272.0°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #2F37B0 |
|---|---|
| RGB | rgb(47, 55, 176) |
| HSL | hsl(236, 58%, 44%) |
| HSV | hsv(236, 73%, 69%) |
| CMYK | cmyk(73.3%, 68.8%, 0%, 31%) |
| CIE-LAB | lab(30.57, 38.21, -65.03) |
| CIE-LCH | lch(30.57, 75.42, 300.44°) |
| OKLab | oklab(41.72% 0.0067 -0.1881) |
| OKLCH | oklch(41.72% 0.188 272) |
| XYZ | xyz(10.3723, 6.4702, 41.7681) |
| Luminance | 0.0647 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.76
Blue Blue
#2242C7
ΔE00 4.37
Ocean Blue
#4F42B5
ΔE00 4.80
Blue With A Hint Of Purple
#533CC6
ΔE00 5.72
Blueberry
#464196
ΔE00 5.73
Blurple
#5539CC
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F37B0 #B0A82F
analogous
#2F77B0 #2F37B0 #672FB0
triadic
#2F37B0 #B02F37 #37B02F
tetradic
#2F37B0 #B02F77 #B0A82F #2FB067
square
#2F37B0 #B02F77 #B0A82F #2FB067
split-complementary
#2F37B0 #B0672F #77B02F
monochromatic
#15194F #222880 #2F37B0 #4D55CF #7D83DC
Accessibility & contrast
On white
9.15
#2F37B0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F37B0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F37B0
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F37B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F37B0 | 1.00 | 9.15 | 2.29 | 9.15 |
| #FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB4
Deuteranopia (green-blind)
#0042AE
Tritanopia (blue-blind)
#00586F
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f37b0; /* rgb */ color: rgb(47, 55, 176); /* oklch */ color: oklch(41.7% 0.188 272.0);
Tailwind
colors: {
custom: {
50: '#7b6ec9',
500: '#2f37b0',
950: '#000000',
},
}SCSS
$custom: #2f37b0; $custom-light: #7b6ec9; $custom-dark: #000000;
JSON
{
"hex": "#2f37b0",
"rgb": {
"r": 47,
"g": 55,
"b": 176
},
"hsl": {
"h": 236.279,
"s": 57.848,
"l": 43.725
},
"oklch": {
"l": 0.41716,
"c": 0.18819,
"h": 272
},
"luminance": 0.06471
}Semantic roles & 50–950 ramp
primary
#2F37B0
secondary
#C5C076
accent
#D847E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82