#4F5DE6#4F5DE6

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

Color values

HEX#4F5DE6
RGBrgb(79, 93, 230)
HSLhsl(234, 75%, 61%)
HSVhsv(234, 66%, 90%)
CMYKcmyk(65.7%, 59.6%, 0%, 9.8%)
CIE-LABlab(45.91, 37.41, -71.18)
CIE-LCHlch(45.91, 80.41, 297.72°)
OKLaboklab(54.86% 0.0111 -0.2051)
OKLCHoklch(54.86% 0.205 273.1)
XYZxyz(21.4170, 15.2022, 76.6532)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DE6 #E6D84F
analogous
#4FA8E6 #4F5DE6 #8C4FE6
triadic
#4F5DE6 #E64F5D #5DE64F
tetradic
#4F5DE6 #E64FA8 #E6D84F #4FE68C
square
#4F5DE6 #E64FA8 #E6D84F #4FE68C
split-complementary
#4F5DE6 #E68C4F #A8E64F
monochromatic
#1724A3 #1F30D9 #4F5DE6 #858EEE #BAC0F5

Accessibility & contrast

On white

5.20
#4F5DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#4F5DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DE6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DE6#FFFFFF#000000##FFFFFF
##4F5DE61.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4f5de6;
/* rgb */ color: rgb(79, 93, 230);
/* oklch */ color: oklch(54.9% 0.205 273.1);
Tailwind
colors: {
  custom: {
    50: '#918bef',
    500: '#4f5de6',
    950: '#000000',
  },
}
SCSS
$custom: #4f5de6;
$custom-light: #918bef;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5de6",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 230
  },
  "hsl": {
    "h": 234.437,
    "s": 75.124,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54855,
    "c": 0.20539,
    "h": 273.1
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#4F5DE6
secondary
#E5E0AC
accent
#C50ED7
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C17
muted
#7E7D85

Preview Lab

Preview with #4F5DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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