#4F5DF5#4F5DF5

#4F5DF5 is a mid, highly saturated blue. Relative luminance 0.161; OKLCH L 56.1% C 0.224 H 272.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4F5DF5
RGBrgb(79, 93, 245)
HSLhsl(235, 89%, 64%)
HSVhsv(235, 68%, 96%)
CMYKcmyk(67.8%, 62%, 0%, 3.9%)
CIE-LABlab(47.08, 42.43, -77.70)
CIE-LCHlch(47.08, 88.53, 298.64°)
OKLaboklab(56.08% 0.0106 -0.2242)
OKLCHoklch(56.08% 0.224 272.7)
XYZxyz(23.6147, 16.0813, 88.2280)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DF5 #F5E74F
analogous
#4FB0F5 #4F5DF5 #944FF5
triadic
#4F5DF5 #F54F5D #5DF54F
tetradic
#4F5DF5 #F54FB0 #F5E74F #4FF594
square
#4F5DF5 #F54FB0 #F5E74F #4FF594
split-complementary
#4F5DF5 #F5944F #B0F54F
monochromatic
#0B1ABF #1528F2 #4F5DF5 #8992F8 #C3C8FC

Accessibility & contrast

On white

4.98
#4F5DF5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#4F5DF5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DF5
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DF5#FFFFFF#000000##FFFFFF
##4F5DF51.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#0068F2
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #4f5df5;
/* rgb */ color: rgb(79, 93, 245);
/* oklch */ color: oklch(56.1% 0.224 272.7);
Tailwind
colors: {
  custom: {
    50: '#948bfa',
    500: '#4f5df5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5df5;
$custom-light: #948bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5df5",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 245
  },
  "hsl": {
    "h": 234.94,
    "s": 89.247,
    "l": 63.529
  },
  "oklch": {
    "l": 0.56083,
    "c": 0.22448,
    "h": 272.7
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#4F5DF5
secondary
#EDE8B2
accent
#D200E6
background
#FAF8FF
surface
#F3F0FF
border
#CDCBD7
text
#0F0C17
muted
#7F7D85

Preview Lab

Preview with #4F5DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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