#2F37B2#2F37B2
#2F37B2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.9% C 0.191 H 272.0°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F37B2 |
|---|---|
| RGB | rgb(47, 55, 178) |
| HSL | hsl(236, 58%, 44%) |
| HSV | hsv(236, 74%, 70%) |
| CMYK | cmyk(73.6%, 69.1%, 0%, 30.2%) |
| CIE-LAB | lab(30.76, 38.91, -65.91) |
| CIE-LCH | lch(30.76, 76.53, 300.55°) |
| OKLab | oklab(41.91% 0.0065 -0.1906) |
| OKLCH | oklch(41.91% 0.191 272) |
| XYZ | xyz(10.5716, 6.5500, 42.8180) |
| Luminance | 0.0655 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.93
Blue Blue
#2242C7
ΔE00 4.21
Ocean Blue
#4F42B5
ΔE00 4.73
Blue With A Hint Of Purple
#533CC6
ΔE00 5.54
Blueberry
#464196
ΔE00 5.90
Blurple
#5539CC
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F37B2 #B2AA2F
analogous
#2F79B2 #2F37B2 #692FB2
triadic
#2F37B2 #B22F37 #37B22F
tetradic
#2F37B2 #B22F79 #B2AA2F #2FB269
square
#2F37B2 #B22F79 #B2AA2F #2FB269
split-complementary
#2F37B2 #B2692F #79B22F
monochromatic
#151951 #222882 #2F37B2 #4E56D0 #7E84DD
Accessibility & contrast
On white
9.09
#2F37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#2F37B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F37B2
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F37B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F37B2 | 1.00 | 9.09 | 2.31 | 9.09 |
| #FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB6
Deuteranopia (green-blind)
#0042B0
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f37b2; /* rgb */ color: rgb(47, 55, 178); /* oklch */ color: oklch(41.9% 0.191 272.0);
Tailwind
colors: {
custom: {
50: '#7c6eca',
500: '#2f37b2',
950: '#000000',
},
}SCSS
$custom: #2f37b2; $custom-light: #7c6eca; $custom-dark: #000000;
JSON
{
"hex": "#2f37b2",
"rgb": {
"r": 47,
"g": 55,
"b": 178
},
"hsl": {
"h": 236.336,
"s": 58.222,
"l": 44.118
},
"oklch": {
"l": 0.41912,
"c": 0.19075,
"h": 272
},
"luminance": 0.06551
}Semantic roles & 50–950 ramp
primary
#2F37B2
secondary
#C6C177
accent
#D846E1
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82