#3F4E97#3F4E97
#3F4E97 is a mid, moderate blue. Relative luminance 0.087; OKLCH L 45.0% C 0.120 H 272.0°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #3F4E97 |
|---|---|
| RGB | rgb(63, 78, 151) |
| HSL | hsl(230, 41%, 42%) |
| HSV | hsv(230, 58%, 59%) |
| CMYK | cmyk(58.3%, 48.3%, 0%, 40.8%) |
| CIE-LAB | lab(35.48, 16.95, -41.98) |
| CIE-LCH | lch(35.48, 45.27, 291.98°) |
| OKLab | oklab(45.01% 0.0043 -0.1198) |
| OKLCH | oklch(45.01% 0.12 272) |
| XYZ | xyz(10.3584, 8.7391, 30.4131) |
| Luminance | 0.0874 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 4.30
Cobalt (survey)
#1E488F
ΔE00 5.00
Blueberry
#464196
ΔE00 5.20
Denim Blue
#3B5B92
ΔE00 5.45
Cobalt
#0047AB
ΔE00 5.91
Dusky Blue
#475F94
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F4E97 #97883F
analogous
#3F7A97 #3F4E97 #5C3F97
triadic
#3F4E97 #973F4E #4E973F
tetradic
#3F4E97 #973F7A #97883F #3F975C
square
#3F4E97 #973F7A #97883F #3F975C
split-complementary
#3F4E97 #975C3F #7A973F
monochromatic
#1B2141 #2D386C #3F4E97 #596ABA #8591CC
Accessibility & contrast
On white
7.64
#3F4E97 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#3F4E97 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #3F4E97
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F4E97 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F4E97 | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B579A
Deuteranopia (green-blind)
#1E5095
Tritanopia (blue-blind)
#045E6B
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #3f4e97; /* rgb */ color: rgb(63, 78, 151); /* oklch */ color: oklch(45.0% 0.120 272.0);
Tailwind
colors: {
custom: {
50: '#7c7fb6',
500: '#3f4e97',
950: '#000000',
},
}SCSS
$custom: #3f4e97; $custom-light: #7c7fb6; $custom-dark: #000000;
JSON
{
"hex": "#3f4e97",
"rgb": {
"r": 63,
"g": 78,
"b": 151
},
"hsl": {
"h": 229.773,
"s": 41.121,
"l": 41.961
},
"oklch": {
"l": 0.45009,
"c": 0.11987,
"h": 272
},
"luminance": 0.0874
}Semantic roles & 50–950 ramp
primary
#3F4E97
secondary
#B6AC7C
accent
#BC57D1
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#0A0A11
muted
#7C7C80