#4F47BC#4F47BC

#4F47BC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.6% C 0.177 H 280.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4F47BC
RGBrgb(79, 71, 188)
HSLhsl(244, 47%, 51%)
HSVhsv(244, 62%, 74%)
CMYKcmyk(58%, 62.2%, 0%, 26.3%)
CIE-LABlab(37.48, 36.97, -60.74)
CIE-LCHlch(37.48, 71.11, 301.33°)
OKLaboklab(47.63% 0.0318 -0.1746)
OKLCHoklch(47.63% 0.177 280.3)
XYZxyz(14.5519, 9.7986, 48.6917)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47BC #B4BC47
analogous
#4779BC #4F47BC #8A47BC
triadic
#4F47BC #BC4F47 #47BC4F
tetradic
#4F47BC #BC4779 #B4BC47 #47BC8A
square
#4F47BC #BC4779 #B4BC47 #47BC8A
split-complementary
#4F47BC #BC8A47 #79BC47
monochromatic
#292464 #3B3591 #4F47BC #7A74CC #A5A1DD

Accessibility & contrast

On white

7.09
#4F47BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4F47BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F47BC
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47BC#FFFFFF#000000##FFFFFF
##4F47BC1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0054BA
Tritanopia (blue-blind)
#0B647B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f47bc;
/* rgb */ color: rgb(79, 71, 188);
/* oklch */ color: oklch(47.6% 0.177 280.3);
Tailwind
colors: {
  custom: {
    50: '#8b7bd1',
    500: '#4f47bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f47bc;
$custom-light: #8b7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47bc",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 244.103,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.47633,
    "c": 0.17745,
    "h": 280.3
  },
  "luminance": 0.098
}

Semantic roles & 50–950 ramp

primary
#4F47BC
secondary
#C6C995
accent
#D652CD
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4F47BC

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

Preview Lab → · Contrast checker → · Palette generator →

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