#4F508D#4F508D

#4F508D is a mid, moderate blue. Relative luminance 0.093; OKLCH L 46.0% C 0.098 H 281.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#4F508D
RGBrgb(79, 80, 141)
HSLhsl(239, 28%, 43%)
HSVhsv(239, 44%, 55%)
CMYKcmyk(44%, 43.3%, 0%, 44.7%)
CIE-LABlab(36.60, 16.20, -34.06)
CIE-LCHlch(36.60, 37.72, 295.44°)
OKLaboklab(45.97% 0.0189 -0.0961)
OKLCHoklch(45.97% 0.098 281.1)
XYZxyz(10.8994, 9.3222, 26.4192)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F508D #8D8C4F
analogous
#4F6F8D #4F508D #6D4F8D
triadic
#4F508D #8D4F50 #508D4F
tetradic
#4F508D #8D4F6F #8D8C4F #4F8D6D
square
#4F508D #8D4F6F #8D8C4F #4F8D6D
split-complementary
#4F508D #8D6D4F #6F8D4F
monochromatic
#23233F #393A66 #4F508D #6C6DAD #9494C3

Accessibility & contrast

On white

7.33
#4F508D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#4F508D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F508D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F508D#FFFFFF#000000##FFFFFF
##4F508D1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A588F
Deuteranopia (green-blind)
#36548C
Tritanopia (blue-blind)
#3B5C67
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4f508d;
/* rgb */ color: rgb(79, 80, 141);
/* oklch */ color: oklch(46.0% 0.098 281.1);
Tailwind
colors: {
  custom: {
    50: '#8481ae',
    500: '#4f508d',
    950: '#000000',
  },
}
SCSS
$custom: #4f508d;
$custom-light: #8481ae;
$custom-dark: #000000;
JSON
{
  "hex": "#4f508d",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 141
  },
  "hsl": {
    "h": 239.032,
    "s": 28.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45967,
    "c": 0.09799,
    "h": 281.1
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#4F508D
secondary
#AFAF88
accent
#C363C4
background
#F8F7FA
surface
#EFEEF4
border
#CAC9CE
text
#0B0A10
muted
#7C7C7F

Preview Lab

Preview with #4F508D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4F508D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva