#4F50B2#4F50B2

#4F50B2 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.5% C 0.152 H 278.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4F50B2
RGBrgb(79, 80, 178)
HSLhsl(239, 39%, 50%)
HSVhsv(239, 56%, 70%)
CMYKcmyk(55.6%, 55.1%, 0%, 30.2%)
CIE-LABlab(38.92, 28.12, -52.51)
CIE-LCHlch(38.92, 59.57, 298.17°)
OKLaboklab(48.47% 0.0229 -0.1503)
OKLCHoklch(48.47% 0.152 278.7)
XYZxyz(14.1265, 10.6130, 43.4150)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F50B2 #B2B14F
analogous
#4F81B2 #4F50B2 #7F4FB2
triadic
#4F50B2 #B24F50 #50B24F
tetradic
#4F50B2 #B24F81 #B2B14F #4FB27F
square
#4F50B2 #B24F81 #B2B14F #4FB27F
split-complementary
#4F50B2 #B27F4F #81B24F
monochromatic
#29295E #3C3C88 #4F50B2 #7A7AC5 #A4A5D7

Accessibility & contrast

On white

6.72
#4F50B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#4F50B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F50B2
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F50B2#FFFFFF#000000##FFFFFF
##4F50B21.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0058B0
Tritanopia (blue-blind)
#1D6779
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f50b2;
/* rgb */ color: rgb(79, 80, 178);
/* oklch */ color: oklch(48.5% 0.152 278.7);
Tailwind
colors: {
  custom: {
    50: '#8981ca',
    500: '#4f50b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f50b2;
$custom-light: #8981ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4f50b2",
  "rgb": {
    "r": 79,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 239.394,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.15206,
    "h": 278.7
  },
  "luminance": 0.10614
}

Semantic roles & 50–950 ramp

primary
#4F50B2
secondary
#C4C498
accent
#CE59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4F50B2

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

Preview Lab → · Contrast checker → · Palette generator →

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