#4F50BD#4F50BD

#4F50BD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.3% C 0.167 H 277.9°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#4F50BD
RGBrgb(79, 80, 189)
HSLhsl(239, 45%, 53%)
HSVhsv(239, 58%, 74%)
CMYKcmyk(58.2%, 57.7%, 0%, 25.9%)
CIE-LABlab(39.70, 31.75, -57.71)
CIE-LCHlch(39.70, 65.87, 298.82°)
OKLaboklab(49.3% 0.0231 -0.1656)
OKLCHoklch(49.3% 0.167 277.9)
XYZxyz(15.2755, 11.0726, 49.4665)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50BD #BDBC4F
analogous
#4F87BD #4F50BD #854FBD
triadic
#4F50BD #BD4F50 #50BD4F
tetradic
#4F50BD #BD4F87 #BDBC4F #4FBD85
square
#4F50BD #BD4F87 #BDBC4F #4FBD85
split-complementary
#4F50BD #BD854F #87BD4F
monochromatic
#28286A #383996 #4F50BD #7C7CCE #A8A9DE

Accessibility & contrast

On white

6.53
#4F50BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#4F50BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50BD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50BD#FFFFFF#000000##FFFFFF
##4F50BD1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0059BB
Tritanopia (blue-blind)
#036A7F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f50bd;
/* rgb */ color: rgb(79, 80, 189);
/* oklch */ color: oklch(49.3% 0.167 277.9);
Tailwind
colors: {
  custom: {
    50: '#8a81d2',
    500: '#4f50bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f50bd;
$custom-light: #8a81d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50bd",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 239.455,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49296,
    "c": 0.16722,
    "h": 277.9
  },
  "luminance": 0.11074
}

Semantic roles & 50–950 ramp

primary
#4F50BD
secondary
#CCCB9C
accent
#D453D5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F50BD

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

Preview Lab → · Contrast checker → · Palette generator →

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