#3F4797#3F4797
#3F4797 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.6% C 0.130 H 275.4°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4797 |
|---|---|
| RGB | rgb(63, 71, 151) |
| HSL | hsl(235, 41%, 42%) |
| HSV | hsv(235, 58%, 59%) |
| CMYK | cmyk(58.3%, 53%, 0%, 40.8%) |
| CIE-LAB | lab(33.56, 21.55, -45.07) |
| CIE-LCH | lch(33.56, 49.96, 295.55°) |
| OKLab | oklab(43.56% 0.0121 -0.1289) |
| OKLCH | oklch(43.56% 0.13 275.4) |
| XYZ | xyz(9.8872, 7.7969, 30.2561) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.83
Darkslateblue
#483D8B
ΔE00 4.67
Twilight
#4E518B
ΔE00 5.14
Cobalt (survey)
#1E488F
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 6.09
Sapphire (survey)
#2138AB
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4797 #978F3F
analogous
#3F7397 #3F4797 #633F97
triadic
#3F4797 #973F47 #47973F
tetradic
#3F4797 #973F73 #978F3F #3F9763
square
#3F4797 #973F73 #978F3F #3F9763
split-complementary
#3F4797 #97633F #73973F
monochromatic
#1B1E41 #2D336C #3F4797 #5962BA #858BCC
Accessibility & contrast
On white
8.20
#3F4797 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#3F4797 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4797
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4797 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4797 | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A539A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#075968
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #3f4797; /* rgb */ color: rgb(63, 71, 151); /* oklch */ color: oklch(43.6% 0.130 275.4);
Tailwind
colors: {
custom: {
50: '#7c7ab6',
500: '#3f4797',
950: '#000000',
},
}SCSS
$custom: #3f4797; $custom-light: #7c7ab6; $custom-dark: #000000;
JSON
{
"hex": "#3f4797",
"rgb": {
"r": 63,
"g": 71,
"b": 151
},
"hsl": {
"h": 234.545,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.43557,
"c": 0.1295,
"h": 275.4
},
"luminance": 0.07798
}Semantic roles & 50–950 ramp
primary
#3F4797
secondary
#B6B17C
accent
#C657D1
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#0A0911
muted
#7C7B80