#2F37B3#2F37B3
#2F37B3 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.0% C 0.192 H 271.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).
Color values
| HEX | #2F37B3 |
|---|---|
| RGB | rgb(47, 55, 179) |
| HSL | hsl(236, 58%, 44%) |
| HSV | hsv(236, 74%, 70%) |
| CMYK | cmyk(73.7%, 69.3%, 0%, 29.8%) |
| CIE-LAB | lab(30.86, 39.26, -66.35) |
| CIE-LCH | lch(30.86, 77.09, 300.61°) |
| OKLab | oklab(42.01% 0.0064 -0.1919) |
| OKLCH | oklch(42.01% 0.192 271.9) |
| XYZ | xyz(10.6724, 6.5903, 43.3487) |
| Luminance | 0.0659 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.02
Blue Blue
#2242C7
ΔE00 4.13
Ocean Blue
#4F42B5
ΔE00 4.70
Blue With A Hint Of Purple
#533CC6
ΔE00 5.44
Blueberry
#464196
ΔE00 5.99
Blurple
#5539CC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F37B3 #B3AB2F
analogous
#2F79B3 #2F37B3 #692FB3
triadic
#2F37B3 #B32F37 #37B32F
tetradic
#2F37B3 #B32F79 #B3AB2F #2FB369
square
#2F37B3 #B32F79 #B3AB2F #2FB369
split-complementary
#2F37B3 #B3692F #79B32F
monochromatic
#161952 #222883 #2F37B3 #4F56D1 #7F85DD
Accessibility & contrast
On white
9.06
#2F37B3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.32
#2F37B3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F37B3
9.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F37B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F37B3 | 1.00 | 9.06 | 2.32 | 9.06 |
| #FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB7
Deuteranopia (green-blind)
#0042B1
Tritanopia (blue-blind)
#005970
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f37b3; /* rgb */ color: rgb(47, 55, 179); /* oklch */ color: oklch(42.0% 0.192 271.9);
Tailwind
colors: {
custom: {
50: '#7c6ecb',
500: '#2f37b3',
950: '#000000',
},
}SCSS
$custom: #2f37b3; $custom-light: #7c6ecb; $custom-dark: #000000;
JSON
{
"hex": "#2f37b3",
"rgb": {
"r": 47,
"g": 55,
"b": 179
},
"hsl": {
"h": 236.364,
"s": 58.407,
"l": 44.314
},
"oklch": {
"l": 0.4201,
"c": 0.19203,
"h": 271.9
},
"luminance": 0.06591
}Semantic roles & 50–950 ramp
primary
#2F37B3
secondary
#C6C178
accent
#D846E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82