#4E6FC5#4E6FC5

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

Color values

HEX#4E6FC5
RGBrgb(78, 111, 197)
HSLhsl(223, 51%, 54%)
HSVhsv(223, 60%, 77%)
CMYKcmyk(60.4%, 43.7%, 0%, 22.7%)
CIE-LABlab(48.28, 14.76, -48.55)
CIE-LCHlch(48.28, 50.74, 286.91°)
OKLaboklab(55.93% -0.0091 -0.1384)
OKLCHoklch(55.93% 0.139 266.2)
XYZxyz(18.9009, 17.0182, 55.1013)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6FC5 #C5A44E
analogous
#4EABC5 #4E6FC5 #694EC5
triadic
#4E6FC5 #C54E6F #6FC54E
tetradic
#4E6FC5 #C54EAB #C5A44E #4EC569
square
#4E6FC5 #C54EAB #C5A44E #4EC569
split-complementary
#4E6FC5 #C5694E #ABC54E
monochromatic
#263B73 #3553A1 #4E6FC5 #7C95D4 #AABAE3

Accessibility & contrast

On white

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

On black

4.40
#4E6FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E6FC5#FFFFFF#000000##FFFFFF
##4E6FC51.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4878C8
Deuteranopia (green-blind)
#366EC3
Tritanopia (blue-blind)
#008290
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4e6fc5;
/* rgb */ color: rgb(78, 111, 197);
/* oklch */ color: oklch(55.9% 0.139 266.2);
Tailwind
colors: {
  custom: {
    50: '#8a97d7',
    500: '#4e6fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e6fc5;
$custom-light: #8a97d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6fc5",
  "rgb": {
    "r": 78,
    "g": 111,
    "b": 197
  },
  "hsl": {
    "h": 223.361,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5593,
    "c": 0.13866,
    "h": 266.2
  },
  "luminance": 0.1702
}

Semantic roles & 50–950 ramp

primary
#4E6FC5
secondary
#D1C39E
accent
#B34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4E6FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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