#3F52AF#3F52AF
#3F52AF is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.6% C 0.149 H 271.0°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).
Color values
| HEX | #3F52AF |
|---|---|
| RGB | rgb(63, 82, 175) |
| HSL | hsl(230, 47%, 47%) |
| HSV | hsv(230, 64%, 69%) |
| CMYK | cmyk(64%, 53.1%, 0%, 31.4%) |
| CIE-LAB | lab(38.17, 22.80, -52.00) |
| CIE-LCH | lch(38.17, 56.78, 293.67°) |
| OKLab | oklab(47.56% 0.0026 -0.1492) |
| OKLCH | oklch(47.56% 0.149 271) |
| XYZ | xyz(12.8025, 10.1854, 41.8404) |
| Luminance | 0.1019 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.47
Cobalt
#0047AB
ΔE00 5.51
Denim Blue
#3B5B92
ΔE00 5.86
Blue Blue
#2242C7
ΔE00 6.01
Dusky Blue
#475F94
ΔE00 6.19
Ocean Blue
#4F42B5
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F52AF #AF9C3F
analogous
#3F8AAF #3F52AF #643FAF
triadic
#3F52AF #AF3F52 #52AF3F
tetradic
#3F52AF #AF3F8A #AF9C3F #3FAF64
square
#3F52AF #AF3F8A #AF9C3F #3FAF64
split-complementary
#3F52AF #AF643F #8AAF3F
monochromatic
#1F2855 #2F3D82 #3F52AF #6475C7 #919DD7
Accessibility & contrast
On white
6.91
#3F52AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.04
#3F52AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F52AF
6.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F52AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F52AF | 1.00 | 6.91 | 3.04 | 6.91 |
| #FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #3f52af; /* rgb */ color: rgb(63, 82, 175); /* oklch */ color: oklch(47.6% 0.149 271.0);
Tailwind
colors: {
custom: {
50: '#8082c7',
500: '#3f52af',
950: '#000000',
},
}SCSS
$custom: #3f52af; $custom-light: #8082c7; $custom-dark: #000000;
JSON
{
"hex": "#3f52af",
"rgb": {
"r": 63,
"g": 82,
"b": 175
},
"hsl": {
"h": 229.821,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.47564,
"c": 0.14923,
"h": 271
},
"luminance": 0.10186
}Semantic roles & 50–950 ramp
primary
#3F52AF
secondary
#C3B987
accent
#C051D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82