#4F47CB#4F47CB

#4F47CB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.9% C 0.197 H 278.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#4F47CB
RGBrgb(79, 71, 203)
HSLhsl(244, 56%, 54%)
HSVhsv(244, 65%, 80%)
CMYKcmyk(61.1%, 65%, 0%, 20.4%)
CIE-LABlab(38.69, 41.80, -67.51)
CIE-LCHlch(38.69, 79.40, 301.76°)
OKLaboklab(48.89% 0.0306 -0.1945)
OKLCHoklch(48.89% 0.197 278.9)
XYZxyz(16.2537, 10.4793, 57.6545)
Luminance0.1048 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47CB #C3CB47
analogous
#4781CB #4F47CB #9147CB
triadic
#4F47CB #CB4F47 #47CB4F
tetradic
#4F47CB #CB4781 #C3CB47 #47CB91
square
#4F47CB #CB4781 #C3CB47 #47CB91
split-complementary
#4F47CB #CB9147 #81CB47
monochromatic
#272176 #362FA6 #4F47CB #7D77D8 #AAA6E6

Accessibility & contrast

On white

6.78
#4F47CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4F47CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47CB
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47CB#FFFFFF#000000##FFFFFF
##4F47CB1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#006983
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4f47cb;
/* rgb */ color: rgb(79, 71, 203);
/* oklch */ color: oklch(48.9% 0.197 278.9);
Tailwind
colors: {
  custom: {
    50: '#8d7bdc',
    500: '#4f47cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f47cb;
$custom-light: #8d7bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47cb",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 203
  },
  "hsl": {
    "h": 243.636,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.19685,
    "h": 278.9
  },
  "luminance": 0.10481
}

Semantic roles & 50–950 ramp

primary
#4F47CB
secondary
#D0D39B
accent
#DF49D6
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0915
muted
#7E7B83

Preview Lab

Preview with #4F47CB

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

Preview Lab → · Contrast checker → · Palette generator →

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