#4F50BB#4F50BB

#4F50BB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.1% C 0.165 H 278.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4F50BB
RGBrgb(79, 80, 187)
HSLhsl(239, 44%, 52%)
HSVhsv(239, 58%, 73%)
CMYKcmyk(57.8%, 57.2%, 0%, 26.7%)
CIE-LABlab(39.56, 31.09, -56.78)
CIE-LCHlch(39.56, 64.73, 298.70°)
OKLaboklab(49.14% 0.0231 -0.1629)
OKLCHoklch(49.14% 0.165 278.1)
XYZxyz(15.0599, 10.9864, 48.3311)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50BB #BBBA4F
analogous
#4F86BB #4F50BB #844FBB
triadic
#4F50BB #BB4F50 #50BB4F
tetradic
#4F50BB #BB4F86 #BBBA4F #4FBB84
square
#4F50BB #BB4F86 #BBBA4F #4FBB84
split-complementary
#4F50BB #BB844F #86BB4F
monochromatic
#282968 #393A94 #4F50BB #7B7CCC #A7A8DD

Accessibility & contrast

On white

6.57
#4F50BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4F50BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50BB
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50BB#FFFFFF#000000##FFFFFF
##4F50BB1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#0A697D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4f50bb;
/* rgb */ color: rgb(79, 80, 187);
/* oklch */ color: oklch(49.1% 0.165 278.1);
Tailwind
colors: {
  custom: {
    50: '#8a81d0',
    500: '#4f50bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f50bb;
$custom-light: #8a81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50bb",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 187
  },
  "hsl": {
    "h": 239.444,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.49143,
    "c": 0.1645,
    "h": 278.1
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#4F50BB
secondary
#CACA9B
accent
#D354D4
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4F50BB

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

Preview Lab → · Contrast checker → · Palette generator →

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