#4F6BD7#4F6BD7

#4F6BD7 is a mid, vivid blue. Relative luminance 0.171; OKLCH L 56.4% C 0.168 H 269.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#4F6BD7
RGBrgb(79, 107, 215)
HSLhsl(228, 63%, 58%)
HSVhsv(228, 63%, 84%)
CMYKcmyk(63.3%, 50.2%, 0%, 15.7%)
CIE-LABlab(48.36, 23.61, -58.70)
CIE-LCHlch(48.36, 63.27, 291.91°)
OKLaboklab(56.36% -0.0017 -0.1682)
OKLCHoklch(56.36% 0.168 269.4)
XYZxyz(20.7437, 17.0821, 66.4808)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6BD7 #D7BB4F
analogous
#4FAFD7 #4F6BD7 #774FD7
triadic
#4F6BD7 #D74F6B #6BD74F
tetradic
#4F6BD7 #D74FAF #D7BB4F #4FD777
square
#4F6BD7 #D74FAF #D7BB4F #4FD777
split-complementary
#4F6BD7 #D7774F #AFD74F
monochromatic
#20368C #2B49BE #4F6BD7 #8195E2 #B3BFEE

Accessibility & contrast

On white

4.75
#4F6BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#4F6BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6BD7
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6BD7#FFFFFF#000000##FFFFFF
##4F6BD71.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E79DB
Deuteranopia (green-blind)
#016DD5
Tritanopia (blue-blind)
#008497
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6bd7;
/* rgb */ color: rgb(79, 107, 215);
/* oklch */ color: oklch(56.4% 0.168 269.4);
Tailwind
colors: {
  custom: {
    50: '#8d95e4',
    500: '#4f6bd7',
    950: '#000000',
  },
}
SCSS
$custom: #4f6bd7;
$custom-light: #8d95e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6bd7",
  "rgb": {
    "r": 79,
    "g": 107,
    "b": 215
  },
  "hsl": {
    "h": 227.647,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.16825,
    "h": 269.4
  },
  "luminance": 0.17084
}

Semantic roles & 50–950 ramp

primary
#4F6BD7
secondary
#DCD1A6
accent
#C442E6
background
#F9F9FE
surface
#F2F1FC
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4F6BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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