#3F47AA#3F47AA
#3F47AA is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.157 H 274.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3F47AA |
|---|---|
| RGB | rgb(63, 71, 170) |
| HSL | hsl(236, 46%, 46%) |
| HSV | hsv(236, 63%, 67%) |
| CMYK | cmyk(62.9%, 58.2%, 0%, 33.3%) |
| CIE-LAB | lab(34.93, 28.17, -54.28) |
| CIE-LCH | lch(34.93, 61.15, 297.43°) |
| OKLab | oklab(45.02% 0.0129 -0.156) |
| OKLCH | oklch(45.02% 0.157 274.7) |
| XYZ | xyz(11.5565, 8.4646, 39.0472) |
| Luminance | 0.0847 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 3.84
Blueberry
#464196
ΔE00 3.92
Blue Blue
#2242C7
ΔE00 4.58
Sapphire (survey)
#2138AB
ΔE00 4.91
Cobalt
#0047AB
ΔE00 5.58
Darkslateblue
#483D8B
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F47AA #AAA23F
analogous
#3F7CAA #3F47AA #6C3FAA
triadic
#3F47AA #AA3F47 #47AA3F
tetradic
#3F47AA #AA3F7C #AAA23F #3FAA6C
square
#3F47AA #AA3F7C #AAA23F #3FAA6C
split-complementary
#3F47AA #AA6C3F #7CAA3F
monochromatic
#1E2251 #2E347D #3F47AA #6269C5 #8E94D5
Accessibility & contrast
On white
7.80
#3F47AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#3F47AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F47AA
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F47AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F47AA | 1.00 | 7.80 | 2.69 | 7.80 |
| #FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057AD
Deuteranopia (green-blind)
#004EA8
Tritanopia (blue-blind)
#005F71
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3f47aa; /* rgb */ color: rgb(63, 71, 170); /* oklch */ color: oklch(45.0% 0.157 274.7);
Tailwind
colors: {
custom: {
50: '#7f7ac4',
500: '#3f47aa',
950: '#000000',
},
}SCSS
$custom: #3f47aa; $custom-light: #7f7ac4; $custom-dark: #000000;
JSON
{
"hex": "#3f47aa",
"rgb": {
"r": 63,
"g": 71,
"b": 170
},
"hsl": {
"h": 235.514,
"s": 45.923,
"l": 45.686
},
"oklch": {
"l": 0.45022,
"c": 0.15657,
"h": 274.7
},
"luminance": 0.08466
}Semantic roles & 50–950 ramp
primary
#3F47AA
secondary
#C0BC85
accent
#CC52D6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0913
muted
#7C7B82