#4F47F6#4F47F6

#4F47F6 is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.8% C 0.249 H 275.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#4F47F6
RGBrgb(79, 71, 246)
HSLhsl(243, 91%, 62%)
HSVhsv(243, 71%, 96%)
CMYKcmyk(67.9%, 71.1%, 0%, 3.5%)
CIE-LABlab(42.49, 55.37, -85.79)
CIE-LCHlch(42.49, 102.11, 302.84°)
OKLaboklab(52.79% 0.0245 -0.2479)
OKLCHoklch(52.79% 0.249 275.7)
XYZxyz(22.1068, 12.8205, 88.4805)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F47F6 #EEF647
analogous
#4796F6 #4F47F6 #A747F6
triadic
#4F47F6 #F64F47 #47F64F
tetradic
#4F47F6 #F64796 #EEF647 #47F6A7
square
#4F47F6 #F64796 #EEF647 #47F6A7
split-complementary
#4F47F6 #F6A747 #96F647
monochromatic
#1109BA #170DF3 #4F47F6 #8781F9 #BFBCFC

Accessibility & contrast

On white

5.89
#4F47F6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#4F47F6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F47F6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F47F6#FFFFFF#000000##FFFFFF
##4F47F61.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CFB
Deuteranopia (green-blind)
#005CF3
Tritanopia (blue-blind)
#00789A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4f47f6;
/* rgb */ color: rgb(79, 71, 246);
/* oklch */ color: oklch(52.8% 0.249 275.7);
Tailwind
colors: {
  custom: {
    50: '#957cfb',
    500: '#4f47f6',
    950: '#000000',
  },
}
SCSS
$custom: #4f47f6;
$custom-light: #957cfb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f47f6",
  "rgb": {
    "r": 79,
    "g": 71,
    "b": 246
  },
  "hsl": {
    "h": 242.743,
    "s": 90.674,
    "l": 62.157
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.24915,
    "h": 275.7
  },
  "luminance": 0.12823
}

Semantic roles & 50–950 ramp

primary
#4F47F6
secondary
#EAEDAC
accent
#E600DB
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4F47F6

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

Preview Lab → · Contrast checker → · Palette generator →

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