#4F47CE#4F47CE

#4F47CE is a mid, highly saturated blue. Relative luminance 0.106; OKLCH L 49.2% C 0.201 H 278.7°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#4F47CE
RGBrgb(79, 71, 206)
HSLhsl(244, 58%, 54%)
HSVhsv(244, 66%, 81%)
CMYKcmyk(61.7%, 65.5%, 0%, 19.2%)
CIE-LABlab(38.94, 42.76, -68.84)
CIE-LCHlch(38.94, 81.04, 301.85°)
OKLaboklab(49.15% 0.0302 -0.1984)
OKLCHoklch(49.15% 0.201 278.7)
XYZxyz(16.6147, 10.6237, 59.5556)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47CE #C6CE47
analogous
#4782CE #4F47CE #9347CE
triadic
#4F47CE #CE4F47 #47CE4F
tetradic
#4F47CE #CE4782 #C6CE47 #47CE93
square
#4F47CE #CE4782 #C6CE47 #47CE93
split-complementary
#4F47CE #CE9347 #82CE47
monochromatic
#26217A #352DAA #4F47CE #7D77DB #ABA8E8

Accessibility & contrast

On white

6.72
#4F47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#4F47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47CE
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47CE#FFFFFF#000000##FFFFFF
##4F47CE1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0056CB
Tritanopia (blue-blind)
#006A84
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4f47ce;
/* rgb */ color: rgb(79, 71, 206);
/* oklch */ color: oklch(49.2% 0.201 278.7);
Tailwind
colors: {
  custom: {
    50: '#8e7bde',
    500: '#4f47ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f47ce;
$custom-light: #8e7bde;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47ce",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 243.556,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49152,
    "c": 0.20065,
    "h": 278.7
  },
  "luminance": 0.10625
}

Semantic roles & 50–950 ramp

primary
#4F47CE
secondary
#D2D59C
accent
#E147D8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #4F47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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