#4F6BD6#4F6BD6

#4F6BD6 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.3% C 0.167 H 269.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4F6BD6
RGBrgb(79, 107, 214)
HSLhsl(228, 62%, 57%)
HSVhsv(228, 63%, 84%)
CMYKcmyk(63.1%, 50%, 0%, 16.1%)
CIE-LABlab(48.30, 23.27, -58.24)
CIE-LCHlch(48.30, 62.71, 291.78°)
OKLaboklab(56.29% -0.0018 -0.1669)
OKLCHoklch(56.29% 0.167 269.4)
XYZxyz(20.6156, 17.0309, 65.8062)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6BD6 #D6BA4F
analogous
#4FAED6 #4F6BD6 #774FD6
triadic
#4F6BD6 #D64F6B #6BD64F
tetradic
#4F6BD6 #D64FAE #D6BA4F #4FD677
square
#4F6BD6 #D64FAE #D6BA4F #4FD677
split-complementary
#4F6BD6 #D6774F #AED64F
monochromatic
#20368A #2C4ABC #4F6BD6 #8195E2 #B2BEED

Accessibility & contrast

On white

4.77
#4F6BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#4F6BD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6BD6
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6BD6#FFFFFF#000000##FFFFFF
##4F6BD61.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F79DA
Deuteranopia (green-blind)
#066DD4
Tritanopia (blue-blind)
#008496
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6bd6;
/* rgb */ color: rgb(79, 107, 214);
/* oklch */ color: oklch(56.3% 0.167 269.4);
Tailwind
colors: {
  custom: {
    50: '#8d95e3',
    500: '#4f6bd6',
    950: '#000000',
  },
}
SCSS
$custom: #4f6bd6;
$custom-light: #8d95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6bd6",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 214
  },
  "hsl": {
    "h": 227.556,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.5629,
    "c": 0.16688,
    "h": 269.4
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#4F6BD6
secondary
#DCD0A5
accent
#C443E5
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4F6BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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