#4F47BB#4F47BB

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

Color values

HEX#4F47BB
RGBrgb(79, 71, 187)
HSLhsl(244, 46%, 51%)
HSVhsv(244, 62%, 73%)
CMYKcmyk(57.8%, 62%, 0%, 26.7%)
CIE-LABlab(37.40, 36.65, -60.28)
CIE-LCHlch(37.40, 70.55, 301.30°)
OKLaboklab(47.55% 0.0319 -0.1732)
OKLCHoklch(47.55% 0.176 280.4)
XYZxyz(14.4445, 9.7556, 48.1259)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47BB #B3BB47
analogous
#4779BB #4F47BB #8947BB
triadic
#4F47BB #BB4F47 #47BB4F
tetradic
#4F47BB #BB4779 #B3BB47 #47BB89
square
#4F47BB #BB4779 #B3BB47 #47BB89
split-complementary
#4F47BB #BB8947 #79BB47
monochromatic
#292563 #3B3590 #4F47BB #7A74CC #A4A0DC

Accessibility & contrast

On white

7.12
#4F47BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4F47BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F47BB
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47BB#FFFFFF#000000##FFFFFF
##4F47BB1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBF
Deuteranopia (green-blind)
#0054B9
Tritanopia (blue-blind)
#0E637A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f47bb;
/* rgb */ color: rgb(79, 71, 187);
/* oklch */ color: oklch(47.6% 0.176 280.4);
Tailwind
colors: {
  custom: {
    50: '#8b7bd0',
    500: '#4f47bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f47bb;
$custom-light: #8b7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47bb",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 244.138,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.47552,
    "c": 0.17614,
    "h": 280.4
  },
  "luminance": 0.09757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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