#4F4ED2#4F4ED2

#4F4ED2 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.6% C 0.197 H 277.0°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#4F4ED2
RGBrgb(79, 78, 210)
HSLhsl(240, 59%, 56%)
HSVhsv(240, 63%, 82%)
CMYKcmyk(62.4%, 62.9%, 0%, 17.6%)
CIE-LABlab(40.84, 39.88, -68.05)
CIE-LCHlch(40.84, 78.87, 300.38°)
OKLaboklab(50.64% 0.0242 -0.196)
OKLCHoklch(50.64% 0.197 277)
XYZxyz(17.5779, 11.7628, 62.3044)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4ED2 #D1D24E
analogous
#4E8FD2 #4F4ED2 #914ED2
triadic
#4F4ED2 #D24F4E #4ED24F
tetradic
#4F4ED2 #D24E8F #D1D24E #4ED291
square
#4F4ED2 #D24E8F #D1D24E #4ED291
split-complementary
#4F4ED2 #D2914E #8FD24E
monochromatic
#222284 #2F2EB5 #4F4ED2 #807FDE #B0B0EB

Accessibility & contrast

On white

6.26
#4F4ED2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#4F4ED2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4ED2
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4ED2#FFFFFF#000000##FFFFFF
##4F4ED21.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005BCF
Tritanopia (blue-blind)
#006F89
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4f4ed2;
/* rgb */ color: rgb(79, 78, 210);
/* oklch */ color: oklch(50.6% 0.197 277.0);
Tailwind
colors: {
  custom: {
    50: '#8e80e1',
    500: '#4f4ed2',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ed2;
$custom-light: #8e80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ed2",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 210
  },
  "hsl": {
    "h": 240.455,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.19749,
    "h": 277
  },
  "luminance": 0.11764
}

Semantic roles & 50–950 ramp

primary
#4F4ED2
secondary
#D9D9A3
accent
#E345E1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4F4ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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