#4F509B#4F509B
#4F509B is a mid, moderate blue. Relative luminance 0.098; OKLCH L 46.9% C 0.119 H 280.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #4F509B |
|---|---|
| RGB | rgb(79, 80, 155) |
| HSL | hsl(239, 32%, 46%) |
| HSV | hsv(239, 49%, 61%) |
| CMYK | cmyk(49%, 48.4%, 0%, 39.2%) |
| CIE-LAB | lab(37.42, 20.64, -41.23) |
| CIE-LCH | lch(37.42, 46.10, 296.59°) |
| OKLab | oklab(46.86% 0.0211 -0.1171) |
| OKLCH | oklch(46.86% 0.119 280.2) |
| XYZ | xyz(12.0077, 9.7655, 32.2562) |
| Luminance | 0.0977 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Twilight
#4E518B
ΔE00 3.21
Blueberry
#464196
ΔE00 4.73
Dusk
#4E5481
ΔE00 5.81
Darkslateblue
#483D8B
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.53
Dusky Blue
#475F94
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F509B #9B9A4F
analogous
#4F769B #4F509B #744F9B
triadic
#4F509B #9B4F50 #509B4F
tetradic
#4F509B #9B4F76 #9B9A4F #4F9B74
square
#4F509B #9B4F76 #9B9A4F #4F9B74
split-complementary
#4F509B #9B744F #769B4F
monochromatic
#26264A #3A3B72 #4F509B #7172B6 #999ACB
Accessibility & contrast
On white
7.11
#4F509B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#4F509B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F509B
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F509B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F509B | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#305B9E
Deuteranopia (green-blind)
#2A5599
Tritanopia (blue-blind)
#33606E
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #4f509b; /* rgb */ color: rgb(79, 80, 155); /* oklch */ color: oklch(46.9% 0.119 280.2);
Tailwind
colors: {
custom: {
50: '#8581b9',
500: '#4f509b',
950: '#000000',
},
}SCSS
$custom: #4f509b; $custom-light: #8581b9; $custom-dark: #000000;
JSON
{
"hex": "#4f509b",
"rgb": {
"r": 79,
"g": 80,
"b": 155
},
"hsl": {
"h": 239.211,
"s": 32.479,
"l": 45.882
},
"oklch": {
"l": 0.46856,
"c": 0.11903,
"h": 280.2
},
"luminance": 0.09766
}Semantic roles & 50–950 ramp
primary
#4F509B
secondary
#B8B78E
accent
#C75FC9
background
#F8F7FB
surface
#F0EEF6
border
#CBC9D0
text
#0B0A11
muted
#7C7C80