#4F4ECA#4F4ECA

#4F4ECA is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.0% C 0.187 H 277.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#4F4ECA
RGBrgb(79, 78, 202)
HSLhsl(240, 54%, 55%)
HSVhsv(240, 61%, 79%)
CMYKcmyk(60.9%, 61.4%, 0%, 20.8%)
CIE-LABlab(40.20, 37.26, -64.46)
CIE-LCHlch(40.20, 74.46, 300.03°)
OKLaboklab(49.97% 0.0246 -0.1855)
OKLCHoklch(49.97% 0.187 277.6)
XYZxyz(16.6061, 11.3740, 57.1860)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4ECA #C9CA4E
analogous
#4E8BCA #4F4ECA #8D4ECA
triadic
#4F4ECA #CA4F4E #4ECA4F
tetradic
#4F4ECA #CA4E8B #C9CA4E #4ECA8D
square
#4F4ECA #CA4E8B #C9CA4E #4ECA8D
split-complementary
#4F4ECA #CA8D4E #8BCA4E
monochromatic
#252479 #3332A8 #4F4ECA #7E7DD8 #ADACE6

Accessibility & contrast

On white

6.41
#4F4ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#4F4ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4ECA
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4ECA#FFFFFF#000000##FFFFFF
##4F4ECA1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f4eca;
/* rgb */ color: rgb(79, 78, 202);
/* oklch */ color: oklch(50.0% 0.187 277.6);
Tailwind
colors: {
  custom: {
    50: '#8d80db',
    500: '#4f4eca',
    950: '#000000',
  },
}
SCSS
$custom: #4f4eca;
$custom-light: #8d80db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4eca",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 240.484,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.18711,
    "h": 277.6
  },
  "luminance": 0.11375
}

Semantic roles & 50–950 ramp

primary
#4F4ECA
secondary
#D4D4A0
accent
#DD4BDC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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