#4F6BD5#4F6BD5

#4F6BD5 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.2% C 0.166 H 269.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4F6BD5
RGBrgb(79, 107, 213)
HSLhsl(227, 61%, 57%)
HSVhsv(227, 63%, 84%)
CMYKcmyk(62.9%, 49.8%, 0%, 16.5%)
CIE-LABlab(48.23, 22.92, -57.77)
CIE-LCHlch(48.23, 62.15, 291.64°)
OKLaboklab(56.22% -0.0019 -0.1655)
OKLCHoklch(56.22% 0.166 269.3)
XYZxyz(20.4883, 16.9800, 65.1356)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6BD5 #D5B94F
analogous
#4FAED5 #4F6BD5 #764FD5
triadic
#4F6BD5 #D54F6B #6BD54F
tetradic
#4F6BD5 #D54FAE #D5B94F #4FD576
square
#4F6BD5 #D54FAE #D5B94F #4FD576
split-complementary
#4F6BD5 #D5764F #AED54F
monochromatic
#213689 #2C4ABA #4F6BD5 #8095E1 #B2BEED

Accessibility & contrast

On white

4.78
#4F6BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#4F6BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6BD5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6BD5#FFFFFF#000000##FFFFFF
##4F6BD51.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3179D9
Deuteranopia (green-blind)
#0C6DD3
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4f6bd5;
/* rgb */ color: rgb(79, 107, 213);
/* oklch */ color: oklch(56.2% 0.166 269.3);
Tailwind
colors: {
  custom: {
    50: '#8d95e3',
    500: '#4f6bd5',
    950: '#000000',
  },
}
SCSS
$custom: #4f6bd5;
$custom-light: #8d95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6bd5",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 213
  },
  "hsl": {
    "h": 227.463,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.16551,
    "h": 269.3
  },
  "luminance": 0.16982
}

Semantic roles & 50–950 ramp

primary
#4F6BD5
secondary
#DBD0A5
accent
#C343E5
background
#F9F9FD
surface
#F2F1FB
border
#CCCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4F6BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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