#4F4EF5#4F4EF5

#4F4EF5 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.7% C 0.241 H 274.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4F4EF5
RGBrgb(79, 78, 245)
HSLhsl(240, 89%, 63%)
HSVhsv(240, 68%, 96%)
CMYKcmyk(67.8%, 68.2%, 0%, 3.9%)
CIE-LABlab(43.80, 51.19, -83.07)
CIE-LCHlch(43.80, 97.58, 301.64°)
OKLaboklab(53.7% 0.0206 -0.24)
OKLCHoklch(53.7% 0.241 274.9)
XYZxyz(22.4248, 13.7015, 87.8314)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F4EF5 #F4F54E
analogous
#4EA0F5 #4F4EF5 #A24EF5
triadic
#4F4EF5 #F54F4E #4EF54F
tetradic
#4F4EF5 #F54EA0 #F4F54E #4EF5A2
square
#4F4EF5 #F54EA0 #F4F54E #4EF5A2
split-complementary
#4F4EF5 #F5A24E #A0F54E
monochromatic
#0C0BBE #1514F2 #4F4EF5 #8988F8 #C2C2FC

Accessibility & contrast

On white

5.61
#4F4EF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4F4EF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F4EF5
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F4EF5#FFFFFF#000000##FFFFFF
##4F4EF51.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FFA
Deuteranopia (green-blind)
#0060F2
Tritanopia (blue-blind)
#007B9C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f4ef5;
/* rgb */ color: rgb(79, 78, 245);
/* oklch */ color: oklch(53.7% 0.241 274.9);
Tailwind
colors: {
  custom: {
    50: '#9581fa',
    500: '#4f4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #4f4ef5;
$custom-light: #9581fa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f4ef5",
  "rgb": {
    "r": 79,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 240.359,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.53697,
    "c": 0.2409,
    "h": 274.9
  },
  "luminance": 0.13704
}

Semantic roles & 50–950 ramp

primary
#4F4EF5
secondary
#EDEDB2
accent
#E600E4
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #4F4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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