#4F47C8#4F47C8

#4F47C8 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.6% C 0.193 H 279.2°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#4F47C8
RGBrgb(79, 71, 200)
HSLhsl(244, 54%, 53%)
HSVhsv(244, 65%, 78%)
CMYKcmyk(60.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(38.44, 40.84, -66.17)
CIE-LCHlch(38.44, 77.76, 301.68°)
OKLaboklab(48.64% 0.0309 -0.1905)
OKLCHoklch(48.64% 0.193 279.2)
XYZxyz(15.8997, 10.3377, 55.7899)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47C8 #C0C847
analogous
#477FC8 #4F47C8 #8F47C8
triadic
#4F47C8 #C84F47 #47C84F
tetradic
#4F47C8 #C8477F #C0C847 #47C88F
square
#4F47C8 #C8477F #C0C847 #47C88F
split-complementary
#4F47C8 #C88F47 #7FC847
monochromatic
#272272 #3730A2 #4F47C8 #7C76D6 #A9A5E4

Accessibility & contrast

On white

6.85
#4F47C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4F47C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47C8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47C8#FFFFFF#000000##FFFFFF
##4F47C81.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#0055C5
Tritanopia (blue-blind)
#006881
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4f47c8;
/* rgb */ color: rgb(79, 71, 200);
/* oklch */ color: oklch(48.6% 0.193 279.2);
Tailwind
colors: {
  custom: {
    50: '#8d7bda',
    500: '#4f47c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f47c8;
$custom-light: #8d7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47c8",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 243.721,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.48636,
    "c": 0.19302,
    "h": 279.2
  },
  "luminance": 0.10339
}

Semantic roles & 50–950 ramp

primary
#4F47C8
secondary
#CED19A
accent
#DD4AD4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F47C8

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

Preview Lab → · Contrast checker → · Palette generator →

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