#4E6FC7#4E6FC7

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

Color values

HEX#4E6FC7
RGBrgb(78, 111, 199)
HSLhsl(224, 52%, 54%)
HSVhsv(224, 61%, 78%)
CMYKcmyk(60.8%, 44.2%, 0%, 22%)
CIE-LABlab(48.40, 15.45, -49.51)
CIE-LCHlch(48.40, 51.86, 287.33°)
OKLaboklab(56.06% -0.0088 -0.1412)
OKLCHoklch(56.06% 0.141 266.4)
XYZxyz(19.1316, 17.1105, 56.3162)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FC7 #C7A64E
analogous
#4EACC7 #4E6FC7 #6A4EC7
triadic
#4E6FC7 #C74E6F #6FC74E
tetradic
#4E6FC7 #C74EAC #C7A64E #4EC76A
square
#4E6FC7 #C74EAC #C7A64E #4EC76A
split-complementary
#4E6FC7 #C76A4E #ACC74E
monochromatic
#253B75 #3452A4 #4E6FC7 #7C95D6 #ABBBE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E6FC7#FFFFFF#000000##FFFFFF
##4E6FC71.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)
#4679CA
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#008391
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6fc7;
/* rgb */ color: rgb(78, 111, 199);
/* oklch */ color: oklch(56.1% 0.141 266.4);
Tailwind
colors: {
  custom: {
    50: '#8a97d8',
    500: '#4e6fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fc7;
$custom-light: #8a97d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fc7",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 199
  },
  "hsl": {
    "h": 223.636,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.14145,
    "h": 266.4
  },
  "luminance": 0.17112
}

Semantic roles & 50–950 ramp

primary
#4E6FC7
secondary
#D2C49F
accent
#B44CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4E6FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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