#4E6AC2#4E6AC2

#4E6AC2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 54.7% C 0.141 H 268.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4E6AC2
RGBrgb(78, 106, 194)
HSLhsl(226, 49%, 53%)
HSVhsv(226, 60%, 76%)
CMYKcmyk(59.8%, 45.4%, 0%, 23.9%)
CIE-LABlab(46.74, 16.86, -49.29)
CIE-LCHlch(46.74, 52.09, 288.89°)
OKLaboklab(54.69% -0.0043 -0.1406)
OKLCHoklch(54.69% 0.141 268.2)
XYZxyz(18.0302, 15.8213, 53.1321)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6AC2 #C2A64E
analogous
#4EA4C2 #4E6AC2 #6C4EC2
triadic
#4E6AC2 #C24E6A #6AC24E
tetradic
#4E6AC2 #C24EA4 #C2A64E #4EC26C
square
#4E6AC2 #C24EA4 #C2A64E #4EC26C
split-complementary
#4E6AC2 #C26C4E #A4C24E
monochromatic
#26386F #364F9D #4E6AC2 #7C90D2 #A9B7E1

Accessibility & contrast

On white

5.04
#4E6AC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#4E6AC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6AC2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6AC2#FFFFFF#000000##FFFFFF
##4E6AC21.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4174C5
Deuteranopia (green-blind)
#306AC0
Tritanopia (blue-blind)
#007E8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e6ac2;
/* rgb */ color: rgb(78, 106, 194);
/* oklch */ color: oklch(54.7% 0.141 268.2);
Tailwind
colors: {
  custom: {
    50: '#8994d5',
    500: '#4e6ac2',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ac2;
$custom-light: #8994d5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ac2",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 194
  },
  "hsl": {
    "h": 225.517,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5469,
    "c": 0.14066,
    "h": 268.2
  },
  "luminance": 0.15823
}

Semantic roles & 50–950 ramp

primary
#4E6AC2
secondary
#CFC39D
accent
#B750D8
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0C0D14
muted
#7D7E83

Preview Lab

Preview with #4E6AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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