#4E6AC5#4E6AC5

#4E6AC5 is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.9% C 0.145 H 268.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E6AC5
RGBrgb(78, 106, 197)
HSLhsl(226, 51%, 54%)
HSVhsv(226, 60%, 77%)
CMYKcmyk(60.4%, 46.2%, 0%, 22.7%)
CIE-LABlab(46.92, 17.89, -50.73)
CIE-LCHlch(46.92, 53.79, 289.42°)
OKLaboklab(54.89% -0.0039 -0.1448)
OKLCHoklch(54.89% 0.145 268.5)
XYZxyz(18.3706, 15.9575, 54.9245)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6AC5 #C5A94E
analogous
#4EA6C5 #4E6AC5 #6E4EC5
triadic
#4E6AC5 #C54E6A #6AC54E
tetradic
#4E6AC5 #C54EA6 #C5A94E #4EC56E
square
#4E6AC5 #C54EA6 #C5A94E #4EC56E
split-complementary
#4E6AC5 #C56E4E #A6C54E
monochromatic
#263873 #354EA1 #4E6AC5 #7C91D4 #AAB8E3

Accessibility & contrast

On white

5.01
#4E6AC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#4E6AC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6AC5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6AC5#FFFFFF#000000##FFFFFF
##4E6AC51.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E75C8
Deuteranopia (green-blind)
#2C6AC3
Tritanopia (blue-blind)
#007F8E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e6ac5;
/* rgb */ color: rgb(78, 106, 197);
/* oklch */ color: oklch(54.9% 0.145 268.5);
Tailwind
colors: {
  custom: {
    50: '#8a94d7',
    500: '#4e6ac5',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ac5;
$custom-light: #8a94d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ac5",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 197
  },
  "hsl": {
    "h": 225.882,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.54885,
    "c": 0.14487,
    "h": 268.5
  },
  "luminance": 0.15959
}

Semantic roles & 50–950 ramp

primary
#4E6AC5
secondary
#D1C59E
accent
#B94EDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4E6AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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