#4F6CD6#4F6CD6

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

Color values

HEX#4F6CD6
RGBrgb(79, 108, 214)
HSLhsl(227, 62%, 57%)
HSVhsv(227, 63%, 84%)
CMYKcmyk(63.1%, 49.5%, 0%, 16.1%)
CIE-LABlab(48.56, 22.64, -57.81)
CIE-LCHlch(48.56, 62.09, 291.39°)
OKLaboklab(56.49% -0.0027 -0.1656)
OKLCHoklch(56.49% 0.166 269)
XYZxyz(20.7205, 17.2406, 65.8411)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6CD6 #D6B94F
analogous
#4FB0D6 #4F6CD6 #754FD6
triadic
#4F6CD6 #D64F6C #6CD64F
tetradic
#4F6CD6 #D64FB0 #D6B94F #4FD675
square
#4F6CD6 #D64FB0 #D6B94F #4FD675
split-complementary
#4F6CD6 #D6754F #B0D64F
monochromatic
#20378A #2C4BBC #4F6CD6 #8195E2 #B2BFED

Accessibility & contrast

On white

4.72
#4F6CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4F6CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6CD6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6CD6#FFFFFF#000000##FFFFFF
##4F6CD61.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#327ADA
Deuteranopia (green-blind)
#0E6ED4
Tritanopia (blue-blind)
#008597
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4f6cd6;
/* rgb */ color: rgb(79, 108, 214);
/* oklch */ color: oklch(56.5% 0.166 269.0);
Tailwind
colors: {
  custom: {
    50: '#8d95e3',
    500: '#4f6cd6',
    950: '#000000',
  },
}
SCSS
$custom: #4f6cd6;
$custom-light: #8d95e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6cd6",
  "rgb": {
    "r": 79,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 227.111,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56489,
    "c": 0.16563,
    "h": 269
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F6CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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