#4F5CD5#4F5CD5

#4F5CD5 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.3% C 0.184 H 273.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4F5CD5
RGBrgb(79, 92, 213)
HSLhsl(234, 61%, 57%)
HSVhsv(234, 63%, 84%)
CMYKcmyk(62.9%, 56.8%, 0%, 16.5%)
CIE-LABlab(44.40, 32.29, -63.96)
CIE-LCHlch(44.40, 71.65, 296.79°)
OKLaboklab(53.34% 0.012 -0.1839)
OKLCHoklch(53.34% 0.184 273.7)
XYZxyz(19.0579, 14.1190, 64.6588)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CD5 #D5C84F
analogous
#4F9FD5 #4F5CD5 #854FD5
triadic
#4F5CD5 #D54F5C #5CD54F
tetradic
#4F5CD5 #D54F9F #D5C84F #4FD585
square
#4F5CD5 #D54F9F #D5C84F #4FD585
split-complementary
#4F5CD5 #D5854F #9FD54F
monochromatic
#212B89 #2C3ABA #4F5CD5 #808AE1 #B2B8ED

Accessibility & contrast

On white

5.49
#4F5CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4F5CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CD5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CD5#FFFFFF#000000##FFFFFF
##4F5CD51.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#0063D3
Tritanopia (blue-blind)
#00798F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5cd5;
/* rgb */ color: rgb(79, 92, 213);
/* oklch */ color: oklch(53.3% 0.184 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e8ae3',
    500: '#4f5cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cd5;
$custom-light: #8e8ae3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cd5",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 234.179,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5334,
    "c": 0.18429,
    "h": 273.7
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#4F5CD5
secondary
#DBD6A5
accent
#D543E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4F5CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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