#4F5DE7#4F5DE7

#4F5DE7 is a mid, highly saturated blue. Relative luminance 0.153; OKLCH L 54.9% C 0.207 H 273.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4F5DE7
RGBrgb(79, 93, 231)
HSLhsl(234, 76%, 61%)
HSVhsv(234, 66%, 91%)
CMYKcmyk(65.8%, 59.7%, 0%, 9.4%)
CIE-LABlab(45.99, 37.74, -71.62)
CIE-LCHlch(45.99, 80.95, 297.79°)
OKLaboklab(54.94% 0.0111 -0.2064)
OKLCHoklch(54.94% 0.207 273.1)
XYZxyz(21.5578, 15.2585, 77.3949)
Luminance0.1526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DE7 #E7D94F
analogous
#4FA9E7 #4F5DE7 #8D4FE7
triadic
#4F5DE7 #E74F5D #5DE74F
tetradic
#4F5DE7 #E74FA9 #E7D94F #4FE78D
square
#4F5DE7 #E74FA9 #E7D94F #4FE78D
split-complementary
#4F5DE7 #E78D4F #A9E74F
monochromatic
#1724A5 #1E2FDB #4F5DE7 #858FEE #BBC0F6

Accessibility & contrast

On white

5.18
#4F5DE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#4F5DE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DE7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DE7#FFFFFF#000000##FFFFFF
##4F5DE71.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EC
Deuteranopia (green-blind)
#0066E4
Tritanopia (blue-blind)
#007F99
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #4f5de7;
/* rgb */ color: rgb(79, 93, 231);
/* oklch */ color: oklch(54.9% 0.207 273.1);
Tailwind
colors: {
  custom: {
    50: '#918bf0',
    500: '#4f5de7',
    950: '#000000',
  },
}
SCSS
$custom: #4f5de7;
$custom-light: #918bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5de7",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 234.474,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.54936,
    "c": 0.20669,
    "h": 273.1
  },
  "luminance": 0.1526
}

Semantic roles & 50–950 ramp

primary
#4F5DE7
secondary
#E6E0AC
accent
#C60DD8
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4F5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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