#4F4792#4F4792
#4F4792 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.5% C 0.119 H 285.3°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4F4792 |
|---|---|
| RGB | rgb(79, 71, 146) |
| HSL | hsl(246, 35%, 43%) |
| HSV | hsv(246, 51%, 57%) |
| CMYK | cmyk(45.9%, 51.4%, 0%, 42.7%) |
| CIE-LAB | lab(34.49, 23.55, -40.47) |
| CIE-LCH | lch(34.49, 46.82, 300.20°) |
| OKLab | oklab(44.47% 0.0315 -0.115) |
| OKLCH | oklch(44.47% 0.119 285.3) |
| XYZ | xyz(10.6645, 8.2436, 28.2178) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blueberry
#464196
ΔE00 2.65
Darkslateblue
#483D8B
ΔE00 3.10
Twilight
#4E518B
ΔE00 4.27
Ocean Blue
#4F42B5
ΔE00 6.22
Dusk
#4E5481
ΔE00 6.75
Rebeccapurple
#663399
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F4792 #8A9247
analogous
#476592 #4F4792 #744792
triadic
#4F4792 #924F47 #47924F
tetradic
#4F4792 #924765 #8A9247 #479274
square
#4F4792 #924765 #8A9247 #479274
split-complementary
#4F4792 #927447 #659247
monochromatic
#221F40 #393369 #4F4792 #6C63B3 #938CC7
Accessibility & contrast
On white
7.93
#4F4792 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#4F4792 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F4792
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F4792 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F4792 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#265395
Deuteranopia (green-blind)
#244F90
Tritanopia (blue-blind)
#3A5765
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4f4792; /* rgb */ color: rgb(79, 71, 146); /* oklch */ color: oklch(44.5% 0.119 285.3);
Tailwind
colors: {
custom: {
50: '#857ab2',
500: '#4f4792',
950: '#000000',
},
}SCSS
$custom: #4f4792; $custom-light: #857ab2; $custom-dark: #000000;
JSON
{
"hex": "#4f4792",
"rgb": {
"r": 79,
"g": 71,
"b": 146
},
"hsl": {
"h": 246.4,
"s": 34.562,
"l": 42.549
},
"oklch": {
"l": 0.44467,
"c": 0.11922,
"h": 285.3
},
"luminance": 0.08244
}Semantic roles & 50–950 ramp
primary
#4F4792
secondary
#AEB382
accent
#CB5DBF
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80