#4F5DCF#4F5DCF

#4F5DCF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.1% C 0.175 H 273.6°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F5DCF
RGBrgb(79, 93, 207)
HSLhsl(233, 57%, 56%)
HSVhsv(233, 62%, 81%)
CMYKcmyk(61.8%, 55.1%, 0%, 18.8%)
CIE-LABlab(44.22, 29.64, -60.81)
CIE-LCHlch(44.22, 67.65, 295.98°)
OKLaboklab(53.07% 0.0109 -0.1746)
OKLCHoklch(53.07% 0.175 273.6)
XYZxyz(18.3976, 13.9944, 60.7511)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F5DCF #CFC14F
analogous
#4F9DCF #4F5DCF #814FCF
triadic
#4F5DCF #CF4F5D #5DCF4F
tetradic
#4F5DCF #CF4F9D #CFC14F #4FCF81
square
#4F5DCF #CF4F9D #CFC14F #4FCF81
split-complementary
#4F5DCF #CF814F #9DCF4F
monochromatic
#232D81 #303EB1 #4F5DCF #7F89DC #AFB6E9

Accessibility & contrast

On white

5.53
#4F5DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#4F5DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F5DCF
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F5DCF#FFFFFF#000000##FFFFFF
##4F5DCF1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00788D
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4f5dcf;
/* rgb */ color: rgb(79, 93, 207);
/* oklch */ color: oklch(53.1% 0.175 273.6);
Tailwind
colors: {
  custom: {
    50: '#8d8ade',
    500: '#4f5dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4f5dcf;
$custom-light: #8d8ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4f5dcf",
  "rgb": {
    "r": 79,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 233.438,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.53072,
    "c": 0.17496,
    "h": 273.6
  },
  "luminance": 0.13996
}

Semantic roles & 50–950 ramp

primary
#4F5DCF
secondary
#D7D2A2
accent
#D047E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4F5DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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