#4F5DCE#4F5DCE

#4F5DCE is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.0% C 0.174 H 273.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#4F5DCE
RGBrgb(79, 93, 206)
HSLhsl(233, 56%, 56%)
HSVhsv(233, 62%, 81%)
CMYKcmyk(61.7%, 54.9%, 0%, 19.2%)
CIE-LABlab(44.16, 29.30, -60.35)
CIE-LCHlch(44.16, 67.09, 295.90°)
OKLaboklab(53% 0.0109 -0.1733)
OKLCHoklch(53% 0.174 273.6)
XYZxyz(18.2757, 13.9457, 60.1093)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DCE #CEC04F
analogous
#4F9CCE #4F5DCE #804FCE
triadic
#4F5DCE #CE4F5D #5DCE4F
tetradic
#4F5DCE #CE4F9C #CEC04F #4FCE80
square
#4F5DCE #CE4F9C #CEC04F #4FCE80
split-complementary
#4F5DCE #CE804F #9CCE4F
monochromatic
#232E7F #313FAF #4F5DCE #7F89DB #AFB5E9

Accessibility & contrast

On white

5.54
#4F5DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#4F5DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DCE
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DCE#FFFFFF#000000##FFFFFF
##4F5DCE1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026ED2
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4f5dce;
/* rgb */ color: rgb(79, 93, 206);
/* oklch */ color: oklch(53.0% 0.174 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c8ade',
    500: '#4f5dce',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dce;
$custom-light: #8c8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dce",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 233.386,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.17361,
    "h": 273.6
  },
  "luminance": 0.13947
}

Semantic roles & 50–950 ramp

primary
#4F5DCE
secondary
#D7D1A2
accent
#CF48E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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