#3F4C97#3F4C97
#3F4C97 is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.6% C 0.123 H 273.0°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4C97 |
|---|---|
| RGB | rgb(63, 76, 151) |
| HSL | hsl(231, 41%, 42%) |
| HSV | hsv(231, 58%, 59%) |
| CMYK | cmyk(58.3%, 49.7%, 0%, 40.8%) |
| CIE-LAB | lab(34.92, 18.26, -42.87) |
| CIE-LCH | lch(34.92, 46.60, 293.07°) |
| OKLab | oklab(44.59% 0.0065 -0.1224) |
| OKLCH | oklch(44.59% 0.123 273) |
| XYZ | xyz(10.2184, 8.4593, 30.3665) |
| Luminance | 0.0846 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.40
Blueberry
#464196
ΔE00 4.50
Cobalt (survey)
#1E488F
ΔE00 5.11
Cobalt
#0047AB
ΔE00 5.89
Denim Blue
#3B5B92
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4C97 #978A3F
analogous
#3F7897 #3F4C97 #5E3F97
triadic
#3F4C97 #973F4C #4C973F
tetradic
#3F4C97 #973F78 #978A3F #3F975E
square
#3F4C97 #973F78 #978A3F #3F975E
split-complementary
#3F4C97 #975E3F #78973F
monochromatic
#1B2141 #2D366C #3F4C97 #5968BA #858FCC
Accessibility & contrast
On white
7.80
#3F4C97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.69
#3F4C97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4C97
7.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4C97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4C97 | 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)
#27569A
Deuteranopia (green-blind)
#194F95
Tritanopia (blue-blind)
#055D6A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #3f4c97; /* rgb */ color: rgb(63, 76, 151); /* oklch */ color: oklch(44.6% 0.123 273.0);
Tailwind
colors: {
custom: {
50: '#7c7db6',
500: '#3f4c97',
950: '#000000',
},
}SCSS
$custom: #3f4c97; $custom-light: #7c7db6; $custom-dark: #000000;
JSON
{
"hex": "#3f4c97",
"rgb": {
"r": 63,
"g": 76,
"b": 151
},
"hsl": {
"h": 231.136,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.44588,
"c": 0.1226,
"h": 273
},
"luminance": 0.0846
}Semantic roles & 50–950 ramp
primary
#3F4C97
secondary
#B6AE7C
accent
#BF57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0911
muted
#7C7B80