#4F4CD1#4F4CD1

#4F4CD1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.2% C 0.199 H 277.5°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#4F4CD1
RGBrgb(79, 76, 209)
HSLhsl(241, 59%, 56%)
HSVhsv(241, 64%, 82%)
CMYKcmyk(62.2%, 63.6%, 0%, 18%)
CIE-LABlab(40.30, 40.76, -68.35)
CIE-LCHlch(40.30, 79.58, 300.81°)
OKLaboklab(50.22% 0.0259 -0.1969)
OKLCHoklch(50.22% 0.199 277.5)
XYZxyz(17.3138, 11.4332, 61.6037)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4CD1 #CED14C
analogous
#4C8BD1 #4F4CD1 #914CD1
triadic
#4F4CD1 #D14F4C #4CD14F
tetradic
#4F4CD1 #D14C8B #CED14C #4CD191
square
#4F4CD1 #D14C8B #CED14C #4CD191
split-complementary
#4F4CD1 #D1914C #8BD14C
monochromatic
#232181 #312EB2 #4F4CD1 #7F7DDE #AFADEA

Accessibility & contrast

On white

6.39
#4F4CD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#4F4CD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4CD1
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4CD1#FFFFFF#000000##FFFFFF
##4F4CD11.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#006E87
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4f4cd1;
/* rgb */ color: rgb(79, 76, 209);
/* oklch */ color: oklch(50.2% 0.199 277.5);
Tailwind
colors: {
  custom: {
    50: '#8e7ee0',
    500: '#4f4cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4f4cd1;
$custom-light: #8e7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4cd1",
  "rgb": {
    "r": 79,
    "g": 76,
    "b": 209
  },
  "hsl": {
    "h": 241.353,
    "s": 59.111,
    "l": 55.882
  },
  "oklch": {
    "l": 0.50219,
    "c": 0.19859,
    "h": 277.5
  },
  "luminance": 0.11435
}

Semantic roles & 50–950 ramp

primary
#4F4CD1
secondary
#D7D8A1
accent
#E246DF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #4F4CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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