#4E6AC4#4E6AC4

#4E6AC4 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.8% C 0.143 H 268.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#4E6AC4
RGBrgb(78, 106, 196)
HSLhsl(226, 50%, 54%)
HSVhsv(226, 60%, 77%)
CMYKcmyk(60.2%, 45.9%, 0%, 23.1%)
CIE-LABlab(46.86, 17.55, -50.25)
CIE-LCHlch(46.86, 53.22, 289.25°)
OKLaboklab(54.82% -0.004 -0.1434)
OKLCHoklch(54.82% 0.143 268.4)
XYZxyz(18.2564, 15.9118, 54.3231)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6AC4 #C4A84E
analogous
#4EA5C4 #4E6AC4 #6D4EC4
triadic
#4E6AC4 #C44E6A #6AC44E
tetradic
#4E6AC4 #C44EA5 #C4A84E #4EC46D
square
#4E6AC4 #C44EA5 #C4A84E #4EC46D
split-complementary
#4E6AC4 #C46D4E #A5C44E
monochromatic
#263872 #354EA0 #4E6AC4 #7C91D3 #AAB7E3

Accessibility & contrast

On white

5.02
#4E6AC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#4E6AC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6AC4
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6AC4#FFFFFF#000000##FFFFFF
##4E6AC41.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F75C7
Deuteranopia (green-blind)
#2D6AC2
Tritanopia (blue-blind)
#007E8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4e6ac4;
/* rgb */ color: rgb(78, 106, 196);
/* oklch */ color: oklch(54.8% 0.143 268.4);
Tailwind
colors: {
  custom: {
    50: '#8a94d6',
    500: '#4e6ac4',
    950: '#000000',
  },
}
SCSS
$custom: #4e6ac4;
$custom-light: #8a94d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6ac4",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 196
  },
  "hsl": {
    "h": 225.763,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5482,
    "c": 0.14348,
    "h": 268.4
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#4E6AC4
secondary
#D0C49E
accent
#B84EDA
background
#F8F9FD
surface
#F0F1FA
border
#CBCBD3
text
#0D0D14
muted
#7D7E83

Preview Lab

Preview with #4E6AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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