#4F47CC#4F47CC

#4F47CC is a mid, vivid blue. Relative luminance 0.105; OKLCH L 49.0% C 0.198 H 278.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#4F47CC
RGBrgb(79, 71, 204)
HSLhsl(244, 57%, 54%)
HSVhsv(244, 65%, 80%)
CMYKcmyk(61.3%, 65.2%, 0%, 20%)
CIE-LABlab(38.77, 42.12, -67.96)
CIE-LCHlch(38.77, 79.95, 301.79°)
OKLaboklab(48.98% 0.0305 -0.1958)
OKLCHoklch(48.98% 0.198 278.8)
XYZxyz(16.3733, 10.5271, 58.2842)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47CC #C4CC47
analogous
#4782CC #4F47CC #9247CC
triadic
#4F47CC #CC4F47 #47CC4F
tetradic
#4F47CC #CC4782 #C4CC47 #47CC92
square
#4F47CC #CC4782 #C4CC47 #47CC92
split-complementary
#4F47CC #CC9247 #82CC47
monochromatic
#262177 #362EA7 #4F47CC #7D77D9 #ABA7E7

Accessibility & contrast

On white

6.76
#4F47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#4F47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47CC
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47CC#FFFFFF#000000##FFFFFF
##4F47CC1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D0
Deuteranopia (green-blind)
#0056C9
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f47cc;
/* rgb */ color: rgb(79, 71, 204);
/* oklch */ color: oklch(49.0% 0.198 278.8);
Tailwind
colors: {
  custom: {
    50: '#8e7bdd',
    500: '#4f47cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f47cc;
$custom-light: #8e7bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47cc",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 243.609,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.48979,
    "c": 0.19812,
    "h": 278.8
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#4F47CC
secondary
#D0D49B
accent
#E048D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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