#4F508A#4F508A
#4F508A is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.8% C 0.093 H 281.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #4F508A |
|---|---|
| RGB | rgb(79, 80, 138) |
| HSL | hsl(239, 27%, 43%) |
| HSV | hsv(239, 43%, 54%) |
| CMYK | cmyk(42.8%, 42%, 0%, 45.9%) |
| CIE-LAB | lab(36.43, 15.27, -32.49) |
| CIE-LCH | lch(36.43, 35.90, 295.18°) |
| OKLab | oklab(45.79% 0.0183 -0.0916) |
| OKLCH | oklch(45.79% 0.093 281.3) |
| XYZ | xyz(10.6792, 9.2341, 25.2595) |
| Luminance | 0.0924 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 0.57
Dusk
#4E5481
ΔE00 2.97
Blueberry
#464196
ΔE00 6.15
Darkslateblue
#483D8B
ΔE00 6.49
Dusky Blue
#475F94
ΔE00 6.99
Denim Blue
#3B5B92
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F508A #8A894F
analogous
#4F6E8A #4F508A #6B4F8A
triadic
#4F508A #8A4F50 #508A4F
tetradic
#4F508A #8A4F6E #8A894F #4F8A6B
square
#4F508A #8A4F6E #8A894F #4F8A6B
split-complementary
#4F508A #8A6B4F #6E8A4F
monochromatic
#22233C #393963 #4F508A #6C6DAB #9393C1
Accessibility & contrast
On white
7.38
#4F508A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#4F508A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F508A
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F508A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F508A | 1.00 | 7.38 | 2.85 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B588C
Deuteranopia (green-blind)
#385489
Tritanopia (blue-blind)
#3D5C66
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4f508a; /* rgb */ color: rgb(79, 80, 138); /* oklch */ color: oklch(45.8% 0.093 281.3);
Tailwind
colors: {
custom: {
50: '#8381ac',
500: '#4f508a',
950: '#000000',
},
}SCSS
$custom: #4f508a; $custom-light: #8381ac; $custom-dark: #000000;
JSON
{
"hex": "#4f508a",
"rgb": {
"r": 79,
"g": 80,
"b": 138
},
"hsl": {
"h": 238.983,
"s": 27.189,
"l": 42.549
},
"oklch": {
"l": 0.45786,
"c": 0.09339,
"h": 281.3
},
"luminance": 0.09235
}Semantic roles & 50–950 ramp
primary
#4F508A
secondary
#AEAD87
accent
#C264C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F