#4F50BF#4F50BF

#4F50BF is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.170 H 277.8°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#4F50BF
RGBrgb(79, 80, 191)
HSLhsl(239, 47%, 53%)
HSVhsv(239, 59%, 75%)
CMYKcmyk(58.6%, 58.1%, 0%, 25.1%)
CIE-LABlab(39.85, 32.41, -58.64)
CIE-LCHlch(39.85, 67.00, 298.93°)
OKLaboklab(49.45% 0.0231 -0.1684)
OKLCHoklch(49.45% 0.17 277.8)
XYZxyz(15.4941, 11.1601, 50.6177)
Luminance0.1116 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50BF #BFBE4F
analogous
#4F88BF #4F50BF #864FBF
triadic
#4F50BF #BF4F50 #50BF4F
tetradic
#4F50BF #BF4F88 #BFBE4F #4FBF86
square
#4F50BF #BF4F88 #BFBE4F #4FBF86
split-complementary
#4F50BF #BF864F #88BF4F
monochromatic
#27286C #383999 #4F50BF #7C7DCF #A9A9E0

Accessibility & contrast

On white

6.50
#4F50BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#4F50BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50BF
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50BF#FFFFFF#000000##FFFFFF
##4F50BF1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#006A80
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4f50bf;
/* rgb */ color: rgb(79, 80, 191);
/* oklch */ color: oklch(49.5% 0.170 277.8);
Tailwind
colors: {
  custom: {
    50: '#8b81d3',
    500: '#4f50bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f50bf;
$custom-light: #8b81d3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50bf",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 191
  },
  "hsl": {
    "h": 239.464,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.16993,
    "h": 277.8
  },
  "luminance": 0.11161
}

Semantic roles & 50–950 ramp

primary
#4F50BF
secondary
#CDCD9D
accent
#D551D6
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4F50BF

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

Preview Lab → · Contrast checker → · Palette generator →

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