#4F4ECD#4F4ECD

#4F4ECD is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.2% C 0.191 H 277.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#4F4ECD
RGBrgb(79, 78, 205)
HSLhsl(240, 56%, 55%)
HSVhsv(240, 62%, 80%)
CMYKcmyk(61.5%, 62%, 0%, 19.6%)
CIE-LABlab(40.44, 38.25, -65.81)
CIE-LCHlch(40.44, 76.12, 300.16°)
OKLaboklab(50.22% 0.0245 -0.1894)
OKLCHoklch(50.22% 0.191 277.4)
XYZxyz(16.9647, 11.5175, 59.0749)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4ECD #CCCD4E
analogous
#4E8DCD #4F4ECD #8E4ECD
triadic
#4F4ECD #CD4F4E #4ECD4F
tetradic
#4F4ECD #CD4E8D #CCCD4E #4ECD8E
square
#4F4ECD #CD4E8D #CCCD4E #4ECD8E
split-complementary
#4F4ECD #CD8E4E #8DCD4E
monochromatic
#24237D #3231AD #4F4ECD #7E7EDA #AEADE8

Accessibility & contrast

On white

6.36
#4F4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#4F4ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4ECD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4ECD#FFFFFF#000000##FFFFFF
##4F4ECD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f4ecd;
/* rgb */ color: rgb(79, 78, 205);
/* oklch */ color: oklch(50.2% 0.191 277.4);
Tailwind
colors: {
  custom: {
    50: '#8d80dd',
    500: '#4f4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ecd;
$custom-light: #8d80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ecd",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 240.472,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5022,
    "c": 0.19103,
    "h": 277.4
  },
  "luminance": 0.11519
}

Semantic roles & 50–950 ramp

primary
#4F4ECD
secondary
#D5D6A1
accent
#DF49DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4F4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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