#4F5DE0#4F5DE0

#4F5DE0 is a mid, vivid blue. Relative luminance 0.149; OKLCH L 54.4% C 0.198 H 273.3°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#4F5DE0
RGBrgb(79, 93, 224)
HSLhsl(234, 70%, 59%)
HSVhsv(234, 65%, 88%)
CMYKcmyk(64.7%, 58.5%, 0%, 12.2%)
CIE-LABlab(45.46, 35.38, -68.52)
CIE-LCHlch(45.46, 77.11, 297.31°)
OKLaboklab(54.38% 0.0112 -0.1973)
OKLCHoklch(54.38% 0.198 273.3)
XYZxyz(20.5889, 14.8710, 72.2919)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DE0 #E0D24F
analogous
#4FA6E0 #4F5DE0 #8A4FE0
triadic
#4F5DE0 #E04F5D #5DE04F
tetradic
#4F5DE0 #E04FA6 #E0D24F #4FE08A
square
#4F5DE0 #E04FA6 #E0D24F #4FE08A
split-complementary
#4F5DE0 #E08A4F #A6E04F
monochromatic
#1B279A #2435CE #4F5DE0 #838DE9 #B7BDF2

Accessibility & contrast

On white

5.28
#4F5DE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#4F5DE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DE0
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DE0#FFFFFF#000000##FFFFFF
##4F5DE01.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0065DD
Tritanopia (blue-blind)
#007D95
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #4f5de0;
/* rgb */ color: rgb(79, 93, 224);
/* oklch */ color: oklch(54.4% 0.198 273.3);
Tailwind
colors: {
  custom: {
    50: '#908aeb',
    500: '#4f5de0',
    950: '#000000',
  },
}
SCSS
$custom: #4f5de0;
$custom-light: #908aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5de0",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 224
  },
  "hsl": {
    "h": 234.207,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.54378,
    "c": 0.1976,
    "h": 273.3
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#4F5DE0
secondary
#E2DCA9
accent
#DC3BED
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84

Preview Lab

Preview with #4F5DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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