#3F4FAF#3F4FAF
#3F4FAF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.0% C 0.153 H 272.0°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4FAF |
|---|---|
| RGB | rgb(63, 79, 175) |
| HSL | hsl(231, 47%, 47%) |
| HSV | hsv(231, 64%, 69%) |
| CMYK | cmyk(64%, 54.9%, 0%, 31.4%) |
| CIE-LAB | lab(37.38, 24.75, -53.29) |
| CIE-LCH | lch(37.38, 58.75, 294.91°) |
| OKLab | oklab(46.97% 0.0055 -0.153) |
| OKLCH | oklch(46.97% 0.153 272) |
| XYZ | xyz(12.5812, 9.7428, 41.7667) |
| Luminance | 0.0974 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire
#0F52BA
ΔE00 4.92
Blue Blue
#2242C7
ΔE00 5.28
Cobalt
#0047AB
ΔE00 5.31
Ocean Blue
#4F42B5
ΔE00 5.62
Blueberry
#464196
ΔE00 6.08
Denim Blue
#3B5B92
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4FAF #AF9F3F
analogous
#3F87AF #3F4FAF #673FAF
triadic
#3F4FAF #AF3F4F #4FAF3F
tetradic
#3F4FAF #AF3F87 #AF9F3F #3FAF67
square
#3F4FAF #AF3F87 #AF9F3F #3FAF67
split-complementary
#3F4FAF #AF673F #87AF3F
monochromatic
#1F2655 #2F3B82 #3F4FAF #6472C7 #919BD7
Accessibility & contrast
On white
7.12
#3F4FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#3F4FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4FAF
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4FAF | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#075DB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #3f4faf; /* rgb */ color: rgb(63, 79, 175); /* oklch */ color: oklch(47.0% 0.153 272.0);
Tailwind
colors: {
custom: {
50: '#8080c8',
500: '#3f4faf',
950: '#000000',
},
}SCSS
$custom: #3f4faf; $custom-light: #8080c8; $custom-dark: #000000;
JSON
{
"hex": "#3f4faf",
"rgb": {
"r": 63,
"g": 79,
"b": 175
},
"hsl": {
"h": 231.429,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.46965,
"c": 0.15314,
"h": 272
},
"luminance": 0.09744
}Semantic roles & 50–950 ramp
primary
#3F4FAF
secondary
#C3BA87
accent
#C451D7
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0B0A13
muted
#7C7C82