#4F47F0#4F47F0

#4F47F0 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.2% C 0.242 H 276.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4F47F0
RGBrgb(79, 71, 240)
HSLhsl(243, 85%, 61%)
HSVhsv(243, 70%, 94%)
CMYKcmyk(67.1%, 70.4%, 0%, 5.9%)
CIE-LABlab(41.94, 53.51, -83.33)
CIE-LCHlch(41.94, 99.03, 302.71°)
OKLaboklab(52.22% 0.0255 -0.2408)
OKLCHoklch(52.22% 0.242 276.1)
XYZxyz(21.2007, 12.4581, 83.7086)
Luminance0.1246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47F0 #E8F047
analogous
#4793F0 #4F47F0 #A347F0
triadic
#4F47F0 #F04F47 #47F04F
tetradic
#4F47F0 #F04793 #E8F047 #47F0A3
square
#4F47F0 #F04793 #E8F047 #47F0A3
split-complementary
#4F47F0 #F0A347 #93F047
monochromatic
#160EAE #1D13E7 #4F47F0 #8580F5 #BBB8F9

Accessibility & contrast

On white

6.01
#4F47F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4F47F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47F0
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47F0#FFFFFF#000000##FFFFFF
##4F47F01.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF5
Deuteranopia (green-blind)
#005BED
Tritanopia (blue-blind)
#007697
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4f47f0;
/* rgb */ color: rgb(79, 71, 240);
/* oklch */ color: oklch(52.2% 0.242 276.1);
Tailwind
colors: {
  custom: {
    50: '#947cf6',
    500: '#4f47f0',
    950: '#000000',
  },
}
SCSS
$custom: #4f47f0;
$custom-light: #947cf6;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47f0",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 242.84,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.24211,
    "h": 276.1
  },
  "luminance": 0.1246
}

Semantic roles & 50–950 ramp

primary
#4F47F0
secondary
#E6E9AA
accent
#E104D7
background
#FAF7FF
surface
#F3EEFF
border
#CDC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #4F47F0

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

Preview Lab → · Contrast checker → · Palette generator →

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