#4F47BE#4F47BE

#4F47BE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.8% C 0.180 H 280.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#4F47BE
RGBrgb(79, 71, 190)
HSLhsl(244, 48%, 51%)
HSVhsv(244, 63%, 75%)
CMYKcmyk(58.4%, 62.6%, 0%, 25.5%)
CIE-LABlab(37.64, 37.62, -61.65)
CIE-LCHlch(37.64, 72.22, 301.39°)
OKLaboklab(47.8% 0.0317 -0.1773)
OKLCHoklch(47.8% 0.18 280.1)
XYZxyz(14.7690, 9.8854, 49.8350)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47BE #B6BE47
analogous
#477ABE #4F47BE #8A47BE
triadic
#4F47BE #BE4F47 #47BE4F
tetradic
#4F47BE #BE477A #B6BE47 #47BE8A
square
#4F47BE #BE477A #B6BE47 #47BE8A
split-complementary
#4F47BE #BE8A47 #7ABE47
monochromatic
#292466 #3B3494 #4F47BE #7A74CE #A6A1DE

Accessibility & contrast

On white

7.05
#4F47BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4F47BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F47BE
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47BE#FFFFFF#000000##FFFFFF
##4F47BE1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#0054BC
Tritanopia (blue-blind)
#04647C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4f47be;
/* rgb */ color: rgb(79, 71, 190);
/* oklch */ color: oklch(47.8% 0.180 280.1);
Tailwind
colors: {
  custom: {
    50: '#8b7bd2',
    500: '#4f47be',
    950: '#000000',
  },
}
SCSS
$custom: #4f47be;
$custom-light: #8b7bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47be",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 190
  },
  "hsl": {
    "h": 244.034,
    "s": 47.791,
    "l": 51.176
  },
  "oklch": {
    "l": 0.47798,
    "c": 0.18008,
    "h": 280.1
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#4F47BE
secondary
#C7CB96
accent
#D750CE
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #4F47BE

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

Preview Lab → · Contrast checker → · Palette generator →

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