#2F37AE#2F37AE
#2F37AE is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.186 H 272.1°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #2F37AE |
|---|---|
| RGB | rgb(47, 55, 174) |
| HSL | hsl(236, 57%, 43%) |
| HSV | hsv(236, 73%, 68%) |
| CMYK | cmyk(73%, 68.4%, 0%, 31.8%) |
| CIE-LAB | lab(30.38, 37.51, -64.14) |
| CIE-LCH | lch(30.38, 74.30, 300.31°) |
| OKLab | oklab(41.52% 0.0069 -0.1855) |
| OKLCH | oklch(41.52% 0.186 272.1) |
| XYZ | xyz(10.1759, 6.3917, 40.7336) |
| Luminance | 0.0639 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.61
Blue Blue
#2242C7
ΔE00 4.55
Ocean Blue
#4F42B5
ΔE00 4.89
Blueberry
#464196
ΔE00 5.55
Blue With A Hint Of Purple
#533CC6
ΔE00 5.92
Blurple
#5539CC
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F37AE #AEA62F
analogous
#2F77AE #2F37AE #662FAE
triadic
#2F37AE #AE2F37 #37AE2F
tetradic
#2F37AE #AE2F77 #AEA62F #2FAE66
square
#2F37AE #AE2F77 #AEA62F #2FAE66
split-complementary
#2F37AE #AE662F #77AE2F
monochromatic
#15194E #22287E #2F37AE #4C54CF #7C82DC
Accessibility & contrast
On white
9.22
#2F37AE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.28
#2F37AE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F37AE
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F37AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F37AE | 1.00 | 9.22 | 2.28 | 9.22 |
| #FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB2
Deuteranopia (green-blind)
#0042AC
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f37ae; /* rgb */ color: rgb(47, 55, 174); /* oklch */ color: oklch(41.5% 0.186 272.1);
Tailwind
colors: {
custom: {
50: '#7b6ec7',
500: '#2f37ae',
950: '#000000',
},
}SCSS
$custom: #2f37ae; $custom-light: #7b6ec7; $custom-dark: #000000;
JSON
{
"hex": "#2f37ae",
"rgb": {
"r": 47,
"g": 55,
"b": 174
},
"hsl": {
"h": 236.22,
"s": 57.466,
"l": 43.333
},
"oklch": {
"l": 0.41522,
"c": 0.18562,
"h": 272.1
},
"luminance": 0.06393
}Semantic roles & 50–950 ramp
primary
#2F37AE
secondary
#C4BF75
accent
#D747E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82