#4E6AEA#4E6AEA

#4E6AEA is a mid, vivid blue. Relative luminance 0.179; OKLCH L 57.5% C 0.195 H 269.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4E6AEA
RGBrgb(78, 106, 234)
HSLhsl(229, 79%, 61%)
HSVhsv(229, 67%, 92%)
CMYKcmyk(66.7%, 54.7%, 0%, 8.2%)
CIE-LABlab(49.33, 30.61, -67.87)
CIE-LCHlch(49.33, 74.45, 294.28°)
OKLaboklab(57.48% -0.0004 -0.1952)
OKLCHoklch(57.48% 0.195 269.9)
XYZxyz(23.1421, 17.8661, 80.0549)
Luminance0.1787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E6AEA #EACE4E
analogous
#4EB8EA #4E6AEA #804EEA
triadic
#4E6AEA #EA4E6A #6AEA4E
tetradic
#4E6AEA #EA4EB8 #EACE4E #4EEA80
square
#4E6AEA #EA4EB8 #EACE4E #4EEA80
split-complementary
#4E6AEA #EA804E #B8EA4E
monochromatic
#142FA9 #1B3EE0 #4E6AEA #8598F0 #BBC6F7

Accessibility & contrast

On white

4.59
#4E6AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#4E6AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4E6AEA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E6AEA#FFFFFF#000000##FFFFFF
##4E6AEA1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#007DEE
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#0089A0
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4e6aea;
/* rgb */ color: rgb(78, 106, 234);
/* oklch */ color: oklch(57.5% 0.195 269.9);
Tailwind
colors: {
  custom: {
    50: '#9094f2',
    500: '#4e6aea',
    950: '#000000',
  },
}
SCSS
$custom: #4e6aea;
$custom-light: #9094f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e6aea",
  "rgb": {
    "r": 78,
    "g": 106,
    "b": 234
  },
  "hsl": {
    "h": 229.231,
    "s": 78.788,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57484,
    "c": 0.19525,
    "h": 269.9
  },
  "luminance": 0.17868
}

Semantic roles & 50–950 ramp

primary
#4E6AEA
secondary
#E7DDAD
accent
#B60ADB
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4E6AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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