#4F4ECE#4F4ECE

#4F4ECE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.192 H 277.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4F4ECE
RGBrgb(79, 78, 206)
HSLhsl(240, 57%, 56%)
HSVhsv(240, 62%, 81%)
CMYKcmyk(61.7%, 62.1%, 0%, 19.2%)
CIE-LABlab(40.52, 38.58, -66.26)
CIE-LCHlch(40.52, 76.67, 300.21°)
OKLaboklab(50.3% 0.0244 -0.1908)
OKLCHoklch(50.3% 0.192 277.3)
XYZxyz(17.0858, 11.5659, 59.7126)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4ECE #CDCE4E
analogous
#4E8DCE #4F4ECE #8F4ECE
triadic
#4F4ECE #CE4F4E #4ECE4F
tetradic
#4F4ECE #CE4E8D #CDCE4E #4ECE8F
square
#4F4ECE #CE4E8D #CDCE4E #4ECE8F
split-complementary
#4F4ECE #CE8F4E #8DCE4E
monochromatic
#24237F #3130AE #4F4ECE #7F7EDB #AEAEE9

Accessibility & contrast

On white

6.34
#4F4ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4F4ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4ECE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4ECE#FFFFFF#000000##FFFFFF
##4F4ECE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005ACB
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f4ece;
/* rgb */ color: rgb(79, 78, 206);
/* oklch */ color: oklch(50.3% 0.192 277.3);
Tailwind
colors: {
  custom: {
    50: '#8d80de',
    500: '#4f4ece',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ece;
$custom-light: #8d80de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ece",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 240.469,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.50303,
    "c": 0.19233,
    "h": 277.3
  },
  "luminance": 0.11567
}

Semantic roles & 50–950 ramp

primary
#4F4ECE
secondary
#D6D7A1
accent
#E048DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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