#4F5CDF#4F5CDF

#4F5CDF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.1% C 0.198 H 273.5°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#4F5CDF
RGBrgb(79, 92, 223)
HSLhsl(235, 69%, 59%)
HSVhsv(235, 65%, 87%)
CMYKcmyk(64.6%, 58.7%, 0%, 12.5%)
CIE-LABlab(45.14, 35.66, -68.46)
CIE-LCHlch(45.14, 77.20, 297.52°)
OKLaboklab(54.12% 0.0121 -0.1971)
OKLCHoklch(54.12% 0.198 273.5)
XYZxyz(20.3665, 14.6425, 71.5507)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5CDF #DFD24F
analogous
#4FA4DF #4F5CDF #8A4FDF
triadic
#4F5CDF #DF4F5C #5CDF4F
tetradic
#4F5CDF #DF4FA4 #DFD24F #4FDF8A
square
#4F5CDF #DF4FA4 #DFD24F #4FDF8A
split-complementary
#4F5CDF #DF8A4F #A4DF4F
monochromatic
#1C2798 #2534CC #4F5CDF #838CE8 #B7BCF2

Accessibility & contrast

On white

5.35
#4F5CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4F5CDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5CDF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5CDF#FFFFFF#000000##FFFFFF
##4F5CDF1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#0065DC
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4f5cdf;
/* rgb */ color: rgb(79, 92, 223);
/* oklch */ color: oklch(54.1% 0.198 273.5);
Tailwind
colors: {
  custom: {
    50: '#908aea',
    500: '#4f5cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5cdf;
$custom-light: #908aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5cdf",
  "rgb": {
    "r": 79,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 234.583,
    "s": 69.231,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5412,
    "c": 0.1975,
    "h": 273.5
  },
  "luminance": 0.14644
}

Semantic roles & 50–950 ramp

primary
#4F5CDF
secondary
#E1DCA9
accent
#DC3CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4F5CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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