#3F50AF#3F50AF
#3F50AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.152 H 271.7°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #3F50AF |
|---|---|
| RGB | rgb(63, 80, 175) |
| HSL | hsl(231, 47%, 47%) |
| HSV | hsv(231, 64%, 69%) |
| CMYK | cmyk(64%, 54.3%, 0%, 31.4%) |
| CIE-LAB | lab(37.64, 24.10, -52.86) |
| CIE-LCH | lch(37.64, 58.10, 294.51°) |
| OKLab | oklab(47.16% 0.0045 -0.1518) |
| OKLCH | oklch(47.16% 0.152 271.7) |
| XYZ | xyz(12.6538, 9.8881, 41.7909) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.75
Cobalt
#0047AB
ΔE00 5.36
Blue Blue
#2242C7
ΔE00 5.52
Ocean Blue
#4F42B5
ΔE00 5.93
Blueberry
#464196
ΔE00 6.35
Denim Blue
#3B5B92
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F50AF #AF9E3F
analogous
#3F88AF #3F50AF #663FAF
triadic
#3F50AF #AF3F50 #50AF3F
tetradic
#3F50AF #AF3F88 #AF9E3F #3FAF66
square
#3F50AF #AF3F88 #AF9E3F #3FAF66
split-complementary
#3F50AF #AF663F #88AF3F
monochromatic
#1F2755 #2F3B82 #3F50AF #6473C7 #919CD7
Accessibility & contrast
On white
7.05
#3F50AF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#3F50AF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F50AF
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F50AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F50AF | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0D5EB2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #3f50af; /* rgb */ color: rgb(63, 80, 175); /* oklch */ color: oklch(47.2% 0.152 271.7);
Tailwind
colors: {
custom: {
50: '#8080c8',
500: '#3f50af',
950: '#000000',
},
}SCSS
$custom: #3f50af; $custom-light: #8080c8; $custom-dark: #000000;
JSON
{
"hex": "#3f50af",
"rgb": {
"r": 63,
"g": 80,
"b": 175
},
"hsl": {
"h": 230.893,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.47163,
"c": 0.15184,
"h": 271.7
},
"luminance": 0.09889
}Semantic roles & 50–950 ramp
primary
#3F50AF
secondary
#C3BA87
accent
#C251D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82