#4F47BA#4F47BA

#4F47BA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.5% C 0.175 H 280.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#4F47BA
RGBrgb(79, 71, 186)
HSLhsl(244, 45%, 50%)
HSVhsv(244, 62%, 73%)
CMYKcmyk(57.5%, 61.8%, 0%, 27.1%)
CIE-LABlab(37.32, 36.33, -59.82)
CIE-LCHlch(37.32, 69.98, 301.27°)
OKLaboklab(47.47% 0.0319 -0.1719)
OKLCHoklch(47.47% 0.175 280.5)
XYZxyz(14.3378, 9.7130, 47.5641)
Luminance0.0971 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47BA #B2BA47
analogous
#4778BA #4F47BA #8847BA
triadic
#4F47BA #BA4F47 #47BA4F
tetradic
#4F47BA #BA4778 #B2BA47 #47BA88
square
#4F47BA #BA4778 #B2BA47 #47BA88
split-complementary
#4F47BA #BA8847 #78BA47
monochromatic
#292562 #3C358E #4F47BA #7A74CB #A4A0DB

Accessibility & contrast

On white

7.14
#4F47BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#4F47BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F47BA
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47BA#FFFFFF#000000##FFFFFF
##4F47BA1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#11637A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4f47ba;
/* rgb */ color: rgb(79, 71, 186);
/* oklch */ color: oklch(47.5% 0.175 280.5);
Tailwind
colors: {
  custom: {
    50: '#8a7bd0',
    500: '#4f47ba',
    950: '#000000',
  },
}
SCSS
$custom: #4f47ba;
$custom-light: #8a7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47ba",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 244.174,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.17481,
    "h": 280.5
  },
  "luminance": 0.09714
}

Semantic roles & 50–950 ramp

primary
#4F47BA
secondary
#C4C895
accent
#D553CC
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4F47BA

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

Preview Lab → · Contrast checker → · Palette generator →

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