#4F5397#4F5397
#4F5397 is a mid, moderate blue. Relative luminance 0.101; OKLCH L 47.2% C 0.109 H 278.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4F5397 |
|---|---|
| RGB | rgb(79, 83, 151) |
| HSL | hsl(237, 31%, 45%) |
| HSV | hsv(237, 48%, 59%) |
| CMYK | cmyk(47.7%, 45%, 0%, 40.8%) |
| CIE-LAB | lab(37.99, 17.43, -37.90) |
| CIE-LCH | lch(37.99, 41.72, 294.70°) |
| OKLab | oklab(47.21% 0.0167 -0.1074) |
| OKLCH | oklch(47.21% 0.109 278.8) |
| XYZ | xyz(11.9019, 10.0825, 30.5911) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 2.29
Dusk
#4E5481
ΔE00 4.67
Dusky Blue
#475F94
ΔE00 5.67
Blueberry
#464196
ΔE00 5.88
Denim Blue
#3B5B92
ΔE00 6.54
Darkslateblue
#483D8B
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F5397 #97934F
analogous
#4F7797 #4F5397 #6F4F97
triadic
#4F5397 #974F53 #53974F
tetradic
#4F5397 #974F77 #97934F #4F976F
square
#4F5397 #974F77 #97934F #4F976F
split-complementary
#4F5397 #976F4F #77974F
monochromatic
#252747 #3A3D6F #4F5397 #6F73B4 #989AC9
Accessibility & contrast
On white
6.96
#4F5397 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#4F5397 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4F5397
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F5397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F5397 | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#335795
Tritanopia (blue-blind)
#35616D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #4f5397; /* rgb */ color: rgb(79, 83, 151); /* oklch */ color: oklch(47.2% 0.109 278.8);
Tailwind
colors: {
custom: {
50: '#8583b6',
500: '#4f5397',
950: '#000000',
},
}SCSS
$custom: #4f5397; $custom-light: #8583b6; $custom-dark: #000000;
JSON
{
"hex": "#4f5397",
"rgb": {
"r": 79,
"g": 83,
"b": 151
},
"hsl": {
"h": 236.667,
"s": 31.304,
"l": 45.098
},
"oklch": {
"l": 0.47213,
"c": 0.10868,
"h": 278.8
},
"luminance": 0.10083
}Semantic roles & 50–950 ramp
primary
#4F5397
secondary
#B6B38C
accent
#C260C7
background
#F8F8FB
surface
#EFEFF6
border
#CACAD0
text
#0B0A11
muted
#7C7C80