#4F50DB#4F50DB

#4F50DB is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.7% C 0.207 H 276.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#4F50DB
RGBrgb(79, 80, 219)
HSLhsl(240, 66%, 58%)
HSVhsv(240, 64%, 86%)
CMYKcmyk(63.9%, 63.5%, 0%, 14.1%)
CIE-LABlab(42.02, 41.63, -71.28)
CIE-LCHlch(42.02, 82.54, 300.29°)
OKLaboklab(51.73% 0.0219 -0.2055)
OKLCHoklch(51.73% 0.207 276.1)
XYZxyz(18.8751, 12.5125, 68.4246)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50DB #DBDA4F
analogous
#4F96DB #4F50DB #944FDB
triadic
#4F50DB #DB4F50 #50DB4F
tetradic
#4F50DB #DB4F96 #DBDA4F #4FDB94
square
#4F50DB #DB4F96 #DBDA4F #4FDB94
split-complementary
#4F50DB #DB944F #96DB4F
monochromatic
#1E1F92 #2829C5 #4F50DB #8283E5 #B5B5F0

Accessibility & contrast

On white

6.00
#4F50DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4F50DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50DB
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50DB#FFFFFF#000000##FFFFFF
##4F50DB1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#00748E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f50db;
/* rgb */ color: rgb(79, 80, 219);
/* oklch */ color: oklch(51.7% 0.207 276.1);
Tailwind
colors: {
  custom: {
    50: '#9081e7',
    500: '#4f50db',
    950: '#000000',
  },
}
SCSS
$custom: #4f50db;
$custom-light: #9081e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50db",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 219
  },
  "hsl": {
    "h": 239.571,
    "s": 66.038,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.20664,
    "h": 276.1
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#4F50DB
secondary
#DFDEA7
accent
#E83FE9
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F50DB

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

Preview Lab → · Contrast checker → · Palette generator →

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