#4F498D#4F498D
#4F498D is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.5% C 0.109 H 285.1°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4F498D |
|---|---|
| RGB | rgb(79, 73, 141) |
| HSL | hsl(245, 32%, 42%) |
| HSV | hsv(245, 48%, 55%) |
| CMYK | cmyk(44%, 48.2%, 0%, 44.7%) |
| CIE-LAB | lab(34.70, 20.71, -37.07) |
| CIE-LCH | lch(34.70, 42.46, 299.19°) |
| OKLab | oklab(44.53% 0.0283 -0.105) |
| OKLCH | oklch(44.53% 0.109 285.1) |
| XYZ | xyz(10.4133, 8.3500, 26.2572) |
| Luminance | 0.0835 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.19
Blueberry
#464196
ΔE00 3.77
Darkslateblue
#483D8B
ΔE00 3.84
Dusk
#4E5481
ΔE00 5.57
Ocean Blue
#4F42B5
ΔE00 7.46
Dusky Blue
#475F94
ΔE00 9.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F498D #878D49
analogous
#49658D #4F498D #71498D
triadic
#4F498D #8D4F49 #498D4F
tetradic
#4F498D #8D4965 #878D49 #498D71
square
#4F498D #8D4965 #878D49 #498D71
split-complementary
#4F498D #8D7149 #658D49
monochromatic
#221F3C #383465 #4F498D #6B64AF #918DC4
Accessibility & contrast
On white
7.87
#4F498D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#4F498D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F498D
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F498D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F498D | 1.00 | 7.87 | 2.67 | 7.87 |
| #FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E548F
Deuteranopia (green-blind)
#2C508B
Tritanopia (blue-blind)
#3C5764
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #4f498d; /* rgb */ color: rgb(79, 73, 141); /* oklch */ color: oklch(44.5% 0.109 285.1);
Tailwind
colors: {
custom: {
50: '#847baf',
500: '#4f498d',
950: '#000000',
},
}SCSS
$custom: #4f498d; $custom-light: #847baf; $custom-dark: #000000;
JSON
{
"hex": "#4f498d",
"rgb": {
"r": 79,
"g": 73,
"b": 141
},
"hsl": {
"h": 245.294,
"s": 31.776,
"l": 41.961
},
"oklch": {
"l": 0.4453,
"c": 0.10875,
"h": 285.1
},
"luminance": 0.0835
}Semantic roles & 50–950 ramp
primary
#4F498D
secondary
#ACB082
accent
#C860BF
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0910
muted
#7C7B7F