#4F4897#4F4897
#4F4897 is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.0% C 0.125 H 284.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #4F4897 |
|---|---|
| RGB | rgb(79, 72, 151) |
| HSL | hsl(245, 35%, 44%) |
| HSV | hsv(245, 52%, 59%) |
| CMYK | cmyk(47.7%, 52.3%, 0%, 40.8%) |
| CIE-LAB | lab(35.06, 24.48, -42.58) |
| CIE-LCH | lch(35.06, 49.12, 299.90°) |
| OKLab | oklab(45.01% 0.0307 -0.1212) |
| OKLCH | oklch(45.01% 0.125 284.2) |
| XYZ | xyz(11.1261, 8.5308, 30.3325) |
| Luminance | 0.0853 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.47
Darkslateblue
#483D8B
ΔE00 3.59
Twilight
#4E518B
ΔE00 4.47
Ocean Blue
#4F42B5
ΔE00 5.45
Dusk
#4E5481
ΔE00 7.06
Sapphire (survey)
#2138AB
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F4897 #909748
analogous
#486897 #4F4897 #764897
triadic
#4F4897 #974F48 #48974F
tetradic
#4F4897 #974868 #909748 #489776
square
#4F4897 #974868 #909748 #489776
split-complementary
#4F4897 #977648 #689748
monochromatic
#242044 #39346E #4F4897 #6D66B6 #9590CA
Accessibility & contrast
On white
7.76
#4F4897 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#4F4897 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F4897
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F4897 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F4897 | 1.00 | 7.76 | 2.71 | 7.76 |
| #FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23559A
Deuteranopia (green-blind)
#1F5095
Tritanopia (blue-blind)
#375968
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4f4897; /* rgb */ color: rgb(79, 72, 151); /* oklch */ color: oklch(45.0% 0.125 284.2);
Tailwind
colors: {
custom: {
50: '#857bb6',
500: '#4f4897',
950: '#000000',
},
}SCSS
$custom: #4f4897; $custom-light: #857bb6; $custom-dark: #000000;
JSON
{
"hex": "#4f4897",
"rgb": {
"r": 79,
"g": 72,
"b": 151
},
"hsl": {
"h": 245.316,
"s": 35.426,
"l": 43.725
},
"oklch": {
"l": 0.45005,
"c": 0.12499,
"h": 284.2
},
"luminance": 0.08531
}Semantic roles & 50–950 ramp
primary
#4F4897
secondary
#B1B685
accent
#CB5CC2
background
#F8F7FB
surface
#F0EDF6
border
#CBC8D0
text
#0B0911
muted
#7C7B80