#4F5ED1#4F5ED1

#4F5ED1 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.4% C 0.176 H 273.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4F5ED1
RGBrgb(79, 94, 209)
HSLhsl(233, 59%, 56%)
HSVhsv(233, 62%, 82%)
CMYKcmyk(62.2%, 55%, 0%, 18%)
CIE-LABlab(44.62, 29.69, -61.33)
CIE-LCHlch(44.62, 68.14, 295.83°)
OKLaboklab(53.41% 0.0101 -0.1761)
OKLCHoklch(53.41% 0.176 273.3)
XYZxyz(18.7320, 14.2696, 62.0764)
Luminance0.1427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5ED1 #D1C24F
analogous
#4F9FD1 #4F5ED1 #814FD1
triadic
#4F5ED1 #D14F5E #5ED14F
tetradic
#4F5ED1 #D14F9F #D1C24F #4FD181
square
#4F5ED1 #D14F9F #D1C24F #4FD181
split-complementary
#4F5ED1 #D1814F #9FD14F
monochromatic
#222E83 #2F3EB4 #4F5ED1 #808ADE #B0B7EA

Accessibility & contrast

On white

5.45
#4F5ED1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#4F5ED1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5ED1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5ED1#FFFFFF#000000##FFFFFF
##4F5ED11.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD5
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#00798E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5ed1;
/* rgb */ color: rgb(79, 94, 209);
/* oklch */ color: oklch(53.4% 0.176 273.3);
Tailwind
colors: {
  custom: {
    50: '#8d8be0',
    500: '#4f5ed1',
    950: '#000000',
  },
}
SCSS
$custom: #4f5ed1;
$custom-light: #8d8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5ed1",
  "rgb": {
    "r": 79,
    "g": 94,
    "b": 209
  },
  "hsl": {
    "h": 233.077,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5341,
    "c": 0.17641,
    "h": 273.3
  },
  "luminance": 0.14271
}

Semantic roles & 50–950 ramp

primary
#4F5ED1
secondary
#D9D2A3
accent
#D046E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4F5ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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