#4F6CD5#4F6CD5

#4F6CD5 is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.4% C 0.164 H 269.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#4F6CD5
RGBrgb(79, 108, 213)
HSLhsl(227, 61%, 57%)
HSVhsv(227, 63%, 84%)
CMYKcmyk(62.9%, 49.3%, 0%, 16.5%)
CIE-LABlab(48.50, 22.30, -57.35)
CIE-LCHlch(48.50, 61.53, 291.25°)
OKLaboklab(56.42% -0.0029 -0.1642)
OKLCHoklch(56.42% 0.164 269)
XYZxyz(20.5932, 17.1897, 65.1706)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6CD5 #D5B84F
analogous
#4FAFD5 #4F6CD5 #754FD5
triadic
#4F6CD5 #D54F6C #6CD54F
tetradic
#4F6CD5 #D54FAF #D5B84F #4FD575
square
#4F6CD5 #D54FAF #D5B84F #4FD575
split-complementary
#4F6CD5 #D5754F #AFD54F
monochromatic
#213789 #2C4BBA #4F6CD5 #8095E1 #B2BFED

Accessibility & contrast

On white

4.73
#4F6CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#4F6CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6CD5
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6CD5#FFFFFF#000000##FFFFFF
##4F6CD51.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3379D9
Deuteranopia (green-blind)
#126DD3
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6cd5;
/* rgb */ color: rgb(79, 108, 213);
/* oklch */ color: oklch(56.4% 0.164 269.0);
Tailwind
colors: {
  custom: {
    50: '#8d95e2',
    500: '#4f6cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f6cd5;
$custom-light: #8d95e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6cd5",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 227.015,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56421,
    "c": 0.16426,
    "h": 269
  },
  "luminance": 0.17191
}

Semantic roles & 50–950 ramp

primary
#4F6CD5
secondary
#DBCFA5
accent
#C243E5
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F6CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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