#4F5DD7#4F5DD7

#4F5DD7 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.186 H 273.4°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4F5DD7
RGBrgb(79, 93, 215)
HSLhsl(234, 63%, 58%)
HSVhsv(234, 63%, 84%)
CMYKcmyk(63.3%, 56.7%, 0%, 15.7%)
CIE-LABlab(44.80, 32.35, -64.47)
CIE-LCHlch(44.80, 72.13, 296.64°)
OKLaboklab(53.68% 0.0112 -0.1854)
OKLCHoklch(53.68% 0.186 273.4)
XYZxyz(19.4005, 14.3956, 66.0331)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DD7 #D7C94F
analogous
#4FA1D7 #4F5DD7 #854FD7
triadic
#4F5DD7 #D74F5D #5DD74F
tetradic
#4F5DD7 #D74FA1 #D7C94F #4FD785
square
#4F5DD7 #D74FA1 #D7C94F #4FD785
split-complementary
#4F5DD7 #D7854F #A1D74F
monochromatic
#202B8C #2B3ABE #4F5DD7 #818BE2 #B3B9EE

Accessibility & contrast

On white

5.41
#4F5DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#4F5DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DD7
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DD7#FFFFFF#000000##FFFFFF
##4F5DD71.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007A91
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5dd7;
/* rgb */ color: rgb(79, 93, 215);
/* oklch */ color: oklch(53.7% 0.186 273.4);
Tailwind
colors: {
  custom: {
    50: '#8e8ae4',
    500: '#4f5dd7',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dd7;
$custom-light: #8e8ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dd7",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 233.824,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53678,
    "c": 0.18572,
    "h": 273.4
  },
  "luminance": 0.14397
}

Semantic roles & 50–950 ramp

primary
#4F5DD7
secondary
#DCD7A6
accent
#D542E6
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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