#2F37AF#2F37AF
#2F37AF is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.6% C 0.187 H 272.1°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #2F37AF |
|---|---|
| RGB | rgb(47, 55, 175) |
| HSL | hsl(236, 58%, 44%) |
| HSV | hsv(236, 73%, 69%) |
| CMYK | cmyk(73.1%, 68.6%, 0%, 31.4%) |
| CIE-LAB | lab(30.47, 37.86, -64.59) |
| CIE-LCH | lch(30.47, 74.86, 300.38°) |
| OKLab | oklab(41.62% 0.0068 -0.1868) |
| OKLCH | oklch(41.62% 0.187 272.1) |
| XYZ | xyz(10.2737, 6.4308, 41.2490) |
| Luminance | 0.0643 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 1.68
Blue Blue
#2242C7
ΔE00 4.46
Ocean Blue
#4F42B5
ΔE00 4.85
Blueberry
#464196
ΔE00 5.64
Blue With A Hint Of Purple
#533CC6
ΔE00 5.82
Blurple
#5539CC
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F37AF #AFA72F
analogous
#2F77AF #2F37AF #672FAF
triadic
#2F37AF #AF2F37 #37AF2F
tetradic
#2F37AF #AF2F77 #AFA72F #2FAF67
square
#2F37AF #AF2F77 #AFA72F #2FAF67
split-complementary
#2F37AF #AF672F #77AF2F
monochromatic
#15194F #22287F #2F37AF #4C54CF #7C82DC
Accessibility & contrast
On white
9.18
#2F37AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#2F37AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2F37AF
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F37AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F37AF | 1.00 | 9.18 | 2.29 | 9.18 |
| #FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004EB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00586E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #2f37af; /* rgb */ color: rgb(47, 55, 175); /* oklch */ color: oklch(41.6% 0.187 272.1);
Tailwind
colors: {
custom: {
50: '#7b6ec8',
500: '#2f37af',
950: '#000000',
},
}SCSS
$custom: #2f37af; $custom-light: #7b6ec8; $custom-dark: #000000;
JSON
{
"hex": "#2f37af",
"rgb": {
"r": 47,
"g": 55,
"b": 175
},
"hsl": {
"h": 236.25,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.41619,
"c": 0.18691,
"h": 272.1
},
"luminance": 0.06432
}Semantic roles & 50–950 ramp
primary
#2F37AF
secondary
#C4C075
accent
#D747E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82