#4F488C#4F488C
#4F488C is a dark, moderate blue. Relative luminance 0.082; OKLCH L 44.3% C 0.109 H 285.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).
Color values
| HEX | #4F488C |
|---|---|
| RGB | rgb(79, 72, 140) |
| HSL | hsl(246, 32%, 42%) |
| HSV | hsv(246, 49%, 55%) |
| CMYK | cmyk(43.6%, 48.6%, 0%, 45.1%) |
| CIE-LAB | lab(34.38, 21.04, -36.98) |
| CIE-LCH | lch(34.38, 42.55, 299.64°) |
| OKLab | oklab(44.26% 0.0295 -0.1047) |
| OKLCH | oklch(44.26% 0.109 285.7) |
| XYZ | xyz(10.2741, 8.1900, 25.8454) |
| Luminance | 0.0819 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.49
Darkslateblue
#483D8B
ΔE00 3.57
Blueberry
#464196
ΔE00 3.70
Dusk
#4E5481
ΔE00 5.79
Ocean Blue
#4F42B5
ΔE00 7.51
Rebeccapurple
#663399
ΔE00 8.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F488C #858C48
analogous
#48638C #4F488C #71488C
triadic
#4F488C #8C4F48 #488C4F
tetradic
#4F488C #8C4863 #858C48 #488C71
square
#4F488C #8C4863 #858C48 #488C71
split-complementary
#4F488C #8C7148 #638C48
monochromatic
#211E3B #383364 #4F488C #6A63AF #918BC3
Accessibility & contrast
On white
7.96
#4F488C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#4F488C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F488C
7.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F488C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F488C | 1.00 | 7.96 | 2.64 | 7.96 |
| #FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D538E
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#3D5663
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #4f488c; /* rgb */ color: rgb(79, 72, 140); /* oklch */ color: oklch(44.3% 0.109 285.7);
Tailwind
colors: {
custom: {
50: '#847bae',
500: '#4f488c',
950: '#000000',
},
}SCSS
$custom: #4f488c; $custom-light: #847bae; $custom-dark: #000000;
JSON
{
"hex": "#4f488c",
"rgb": {
"r": 79,
"g": 72,
"b": 140
},
"hsl": {
"h": 246.176,
"s": 32.075,
"l": 41.569
},
"oklch": {
"l": 0.44264,
"c": 0.10882,
"h": 285.7
},
"luminance": 0.0819
}Semantic roles & 50–950 ramp
primary
#4F488C
secondary
#AAAF81
accent
#C860BD
background
#F8F7FA
surface
#EFEDF4
border
#CAC8CE
text
#0B0910
muted
#7C7B7F