#4F5DD5#4F5DD5

#4F5DD5 is a mid, vivid blue. Relative luminance 0.143; OKLCH L 53.5% C 0.183 H 273.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4F5DD5
RGBrgb(79, 93, 213)
HSLhsl(234, 61%, 57%)
HSVhsv(234, 63%, 84%)
CMYKcmyk(62.9%, 56.3%, 0%, 16.5%)
CIE-LABlab(44.65, 31.67, -63.56)
CIE-LCHlch(44.65, 71.01, 296.49°)
OKLaboklab(53.53% 0.0111 -0.1827)
OKLCHoklch(53.53% 0.183 273.5)
XYZxyz(19.1451, 14.2934, 64.6879)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DD5 #D5C74F
analogous
#4FA0D5 #4F5DD5 #844FD5
triadic
#4F5DD5 #D54F5D #5DD54F
tetradic
#4F5DD5 #D54FA0 #D5C74F #4FD584
square
#4F5DD5 #D54FA0 #D5C74F #4FD584
split-complementary
#4F5DD5 #D5844F #A0D54F
monochromatic
#212C89 #2C3BBA #4F5DD5 #808AE1 #B2B8ED

Accessibility & contrast

On white

5.44
#4F5DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#4F5DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DD5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DD5#FFFFFF#000000##FFFFFF
##4F5DD51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007A90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4f5dd5;
/* rgb */ color: rgb(79, 93, 213);
/* oklch */ color: oklch(53.5% 0.183 273.5);
Tailwind
colors: {
  custom: {
    50: '#8e8ae3',
    500: '#4f5dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dd5;
$custom-light: #8e8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dd5",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 233.731,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.18305,
    "h": 273.5
  },
  "luminance": 0.14295
}

Semantic roles & 50–950 ramp

primary
#4F5DD5
secondary
#DBD5A5
accent
#D443E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4F5DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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