#4F6ED6#4F6ED6

#4F6ED6 is a mid, vivid blue. Relative luminance 0.177; OKLCH L 56.9% C 0.163 H 268.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#4F6ED6
RGBrgb(79, 110, 214)
HSLhsl(226, 62%, 57%)
HSVhsv(226, 63%, 84%)
CMYKcmyk(63.1%, 48.6%, 0%, 16.1%)
CIE-LABlab(49.09, 21.39, -56.96)
CIE-LCHlch(49.09, 60.85, 290.58°)
OKLaboklab(56.89% -0.0047 -0.1631)
OKLCHoklch(56.89% 0.163 268.4)
XYZxyz(20.9338, 17.6673, 65.9122)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F6ED6 #D6B74F
analogous
#4FB2D6 #4F6ED6 #734FD6
triadic
#4F6ED6 #D64F6E #6ED64F
tetradic
#4F6ED6 #D64FB2 #D6B74F #4FD673
square
#4F6ED6 #D64FB2 #D6B74F #4FD673
split-complementary
#4F6ED6 #D6734F #B2D64F
monochromatic
#20398A #2C4DBC #4F6ED6 #8197E2 #B2C0ED

Accessibility & contrast

On white

4.63
#4F6ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4F6ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4F6ED6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F6ED6#FFFFFF#000000##FFFFFF
##4F6ED61.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377BDA
Deuteranopia (green-blind)
#196FD4
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4f6ed6;
/* rgb */ color: rgb(79, 110, 214);
/* oklch */ color: oklch(56.9% 0.163 268.4);
Tailwind
colors: {
  custom: {
    50: '#8d97e3',
    500: '#4f6ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4f6ed6;
$custom-light: #8d97e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4f6ed6",
  "rgb": {
    "r": 79,
    "g": 110,
    "b": 214
  },
  "hsl": {
    "h": 226.222,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56891,
    "c": 0.16315,
    "h": 268.4
  },
  "luminance": 0.17669
}

Semantic roles & 50–950 ramp

primary
#4F6ED6
secondary
#DCCFA5
accent
#C043E5
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4F6ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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