#4F47BD#4F47BD

#4F47BD is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.7% C 0.179 H 280.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#4F47BD
RGBrgb(79, 71, 189)
HSLhsl(244, 47%, 51%)
HSVhsv(244, 62%, 74%)
CMYKcmyk(58.2%, 62.4%, 0%, 25.9%)
CIE-LABlab(37.56, 37.30, -61.20)
CIE-LCHlch(37.56, 71.67, 301.36°)
OKLaboklab(47.72% 0.0317 -0.1759)
OKLCHoklch(47.72% 0.179 280.2)
XYZxyz(14.6601, 9.8419, 49.2614)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47BD #B5BD47
analogous
#477ABD #4F47BD #8A47BD
triadic
#4F47BD #BD4F47 #47BD4F
tetradic
#4F47BD #BD477A #B5BD47 #47BD8A
square
#4F47BD #BD477A #B5BD47 #47BD8A
split-complementary
#4F47BD #BD8A47 #7ABD47
monochromatic
#292465 #3B3492 #4F47BD #7A74CD #A5A1DD

Accessibility & contrast

On white

7.07
#4F47BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4F47BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F47BD
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47BD#FFFFFF#000000##FFFFFF
##4F47BD1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#08647B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f47bd;
/* rgb */ color: rgb(79, 71, 189);
/* oklch */ color: oklch(47.7% 0.179 280.2);
Tailwind
colors: {
  custom: {
    50: '#8b7bd2',
    500: '#4f47bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f47bd;
$custom-light: #8b7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47bd",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 244.068,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.47716,
    "c": 0.17877,
    "h": 280.2
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#4F47BD
secondary
#C6CA96
accent
#D751CE
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F47BD

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

Preview Lab → · Contrast checker → · Palette generator →

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