#2F37B4#2F37B4
#2F37B4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 42.1% C 0.193 H 271.9°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F37B4 |
|---|---|
| RGB | rgb(47, 55, 180) |
| HSL | hsl(236, 59%, 45%) |
| HSV | hsv(236, 74%, 71%) |
| CMYK | cmyk(73.9%, 69.4%, 0%, 29.4%) |
| CIE-LAB | lab(30.95, 39.60, -66.78) |
| CIE-LCH | lch(30.95, 77.64, 300.67°) |
| OKLab | oklab(42.11% 0.0063 -0.1932) |
| OKLCH | oklch(42.11% 0.193 271.9) |
| XYZ | xyz(10.7739, 6.6309, 43.8833) |
| Luminance | 0.0663 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.12
Blue Blue
#2242C7
ΔE00 4.06
Ocean Blue
#4F42B5
ΔE00 4.68
Blue With A Hint Of Purple
#533CC6
ΔE00 5.36
Blurple
#5539CC
ΔE00 5.96
Blueberry
#464196
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F37B4 #B4AC2F
analogous
#2F7AB4 #2F37B4 #6A2FB4
triadic
#2F37B4 #B42F37 #37B42F
tetradic
#2F37B4 #B42F7A #B4AC2F #2FB46A
square
#2F37B4 #B42F7A #B4AC2F #2FB46A
split-complementary
#2F37B4 #B46A2F #7AB42F
monochromatic
#161953 #222883 #2F37B4 #4F57D1 #8085DE
Accessibility & contrast
On white
9.03
#2F37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#2F37B4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F37B4
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F37B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F37B4 | 1.00 | 9.03 | 2.33 | 9.03 |
| #FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004FB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#005971
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #2f37b4; /* rgb */ color: rgb(47, 55, 180); /* oklch */ color: oklch(42.1% 0.193 271.9);
Tailwind
colors: {
custom: {
50: '#7c6ecc',
500: '#2f37b4',
950: '#000000',
},
}SCSS
$custom: #2f37b4; $custom-light: #7c6ecc; $custom-dark: #000000;
JSON
{
"hex": "#2f37b4",
"rgb": {
"r": 47,
"g": 55,
"b": 180
},
"hsl": {
"h": 236.391,
"s": 58.59,
"l": 44.51
},
"oklch": {
"l": 0.42108,
"c": 0.19329,
"h": 271.9
},
"luminance": 0.06632
}Semantic roles & 50–950 ramp
primary
#2F37B4
secondary
#C7C278
accent
#D846E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82