#4F508F#4F508F
#4F508F is a mid, moderate blue. Relative luminance 0.094; OKLCH L 46.1% C 0.101 H 281.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4F508F |
|---|---|
| RGB | rgb(79, 80, 143) |
| HSL | hsl(239, 29%, 44%) |
| HSV | hsv(239, 45%, 56%) |
| CMYK | cmyk(44.8%, 44.1%, 0%, 43.9%) |
| CIE-LAB | lab(36.71, 16.83, -35.10) |
| CIE-LCH | lch(36.71, 38.92, 295.62°) |
| OKLab | oklab(46.09% 0.0193 -0.0992) |
| OKLCH | oklch(46.09% 0.101 281) |
| XYZ | xyz(11.0496, 9.3823, 27.2100) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 1.02
Dusk
#4E5481
ΔE00 3.80
Blueberry
#464196
ΔE00 5.51
Darkslateblue
#483D8B
ΔE00 6.17
Dusky Blue
#475F94
ΔE00 6.77
Denim Blue
#3B5B92
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F508F #8F8E4F
analogous
#4F708F #4F508F #6E4F8F
triadic
#4F508F #8F4F50 #508F4F
tetradic
#4F508F #8F4F70 #8F8E4F #4F8F6E
square
#4F508F #8F4F70 #8F8E4F #4F8F6E
split-complementary
#4F508F #8F6E4F #708F4F
monochromatic
#232440 #393A68 #4F508F #6D6EAE #9495C4
Accessibility & contrast
On white
7.30
#4F508F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#4F508F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F508F
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F508F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F508F | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#385991
Deuteranopia (green-blind)
#35548E
Tritanopia (blue-blind)
#3A5D68
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #4f508f; /* rgb */ color: rgb(79, 80, 143); /* oklch */ color: oklch(46.1% 0.101 281.0);
Tailwind
colors: {
custom: {
50: '#8481b0',
500: '#4f508f',
950: '#000000',
},
}SCSS
$custom: #4f508f; $custom-light: #8481b0; $custom-dark: #000000;
JSON
{
"hex": "#4f508f",
"rgb": {
"r": 79,
"g": 80,
"b": 143
},
"hsl": {
"h": 239.063,
"s": 28.829,
"l": 43.529
},
"oklch": {
"l": 0.4609,
"c": 0.10104,
"h": 281
},
"luminance": 0.09383
}Semantic roles & 50–950 ramp
primary
#4F508F
secondary
#B1B089
accent
#C463C5
background
#F8F7FA
surface
#EFEEF5
border
#CAC9CF
text
#0B0A10
muted
#7C7C7F