#4F4FD7#4F4FD7

#4F4FD7 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.2% C 0.203 H 276.5°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#4F4FD7
RGBrgb(79, 79, 215)
HSLhsl(240, 63%, 58%)
HSVhsv(240, 63%, 84%)
CMYKcmyk(63.3%, 63.3%, 0%, 15.7%)
CIE-LABlab(41.47, 40.92, -69.89)
CIE-LCHlch(41.47, 80.99, 300.35°)
OKLaboklab(51.22% 0.023 -0.2014)
OKLCHoklch(51.22% 0.203 276.5)
XYZxyz(18.2822, 12.1590, 65.6603)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4FD7 #D7D74F
analogous
#4F93D7 #4F4FD7 #934FD7
triadic
#4F4FD7 #D74F4F #4FD74F
tetradic
#4F4FD7 #D74F93 #D7D74F #4FD793
square
#4F4FD7 #D74F93 #D7D74F #4FD793
split-complementary
#4F4FD7 #D7934F #93D74F
monochromatic
#20208C #2B2BBE #4F4FD7 #8181E2 #B3B3EE

Accessibility & contrast

On white

6.12
#4F4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#4F4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4FD7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4FD7#FFFFFF#000000##FFFFFF
##4F4FD71.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DB
Deuteranopia (green-blind)
#005CD4
Tritanopia (blue-blind)
#00728C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4f4fd7;
/* rgb */ color: rgb(79, 79, 215);
/* oklch */ color: oklch(51.2% 0.203 276.5);
Tailwind
colors: {
  custom: {
    50: '#8f81e4',
    500: '#4f4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4f4fd7;
$custom-light: #8f81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4fd7",
  "rgb": {
    "r": 79,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 240,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.20272,
    "h": 276.5
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#4F4FD7
secondary
#DCDCA6
accent
#E642E6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #4F4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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