#4F4DFF#4F4DFF

#4F4DFF is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 54.5% C 0.254 H 274.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4F4DFF
RGBrgb(79, 77, 255)
HSLhsl(241, 100%, 65%)
HSVhsv(241, 70%, 100%)
CMYKcmyk(69%, 69.8%, 0%, 0%)
CIE-LABlab(44.50, 54.91, -87.51)
CIE-LCHlch(44.50, 103.31, 302.11°)
OKLaboklab(54.47% 0.0198 -0.253)
OKLCHoklch(54.47% 0.254 274.5)
XYZxyz(23.9223, 14.1877, 96.0661)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4DFF #FDFF4D
analogous
#4DA4FF #4F4DFF #A84DFF
triadic
#4F4DFF #FF4F4D #4DFF4F
tetradic
#4F4DFF #FF4DA4 #FDFF4D #4DFFA8
square
#4F4DFF #FF4DA4 #FDFF4D #4DFFA8
split-complementary
#4F4DFF #FFA84D #A4FF4D
monochromatic
#0200D2 #1210FF #4F4DFF #8C8AFF #C8C7FF

Accessibility & contrast

On white

5.47
#4F4DFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#4F4DFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4DFF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4DFF#FFFFFF#000000##FFFFFF
##4F4DFF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FF
Deuteranopia (green-blind)
#0061FC
Tritanopia (blue-blind)
#007FA1
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f4dff;
/* rgb */ color: rgb(79, 77, 255);
/* oklch */ color: oklch(54.5% 0.254 274.5);
Tailwind
colors: {
  custom: {
    50: '#9780ff',
    500: '#4f4dff',
    950: '#000000',
  },
}
SCSS
$custom: #4f4dff;
$custom-light: #9780ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4dff",
  "rgb": {
    "r": 79,
    "g": 77,
    "b": 255
  },
  "hsl": {
    "h": 240.674,
    "s": 100,
    "l": 65.098
  },
  "oklch": {
    "l": 0.54472,
    "c": 0.25376,
    "h": 274.5
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#4F4DFF
secondary
#F1F2B6
accent
#E600E3
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4F4DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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