#4E5EAA#4E5EAA

#4E5EAA is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.6% C 0.122 H 272.4°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#4E5EAA
RGBrgb(78, 94, 170)
HSLhsl(230, 37%, 49%)
HSVhsv(230, 54%, 67%)
CMYKcmyk(54.1%, 44.7%, 0%, 33.3%)
CIE-LABlab(42.04, 16.36, -42.79)
CIE-LCHlch(42.04, 45.81, 290.93°)
OKLaboklab(50.64% 0.0051 -0.1216)
OKLCHoklch(50.64% 0.122 272.4)
XYZxyz(14.3979, 12.5264, 39.6816)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5EAA #AA9A4E
analogous
#4E8CAA #4E5EAA #6C4EAA
triadic
#4E5EAA #AA4E5E #5EAA4E
tetradic
#4E5EAA #AA4E8C #AA9A4E #4EAA6C
square
#4E5EAA #AA4E8C #AA9A4E #4EAA6C
split-complementary
#4E5EAA #AA6C4E #8CAA4E
monochromatic
#283056 #3B4780 #4E5EAA #7582C0 #9FA8D3

Accessibility & contrast

On white

5.99
#4E5EAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#4E5EAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5EAA
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5EAA#FFFFFF#000000##FFFFFF
##4E5EAA1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#335FA8
Tritanopia (blue-blind)
#216F7C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e5eaa;
/* rgb */ color: rgb(78, 94, 170);
/* oklch */ color: oklch(50.6% 0.122 272.4);
Tailwind
colors: {
  custom: {
    50: '#868bc4',
    500: '#4e5eaa',
    950: '#000000',
  },
}
SCSS
$custom: #4e5eaa;
$custom-light: #868bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5eaa",
  "rgb": {
    "r": 78,
    "g": 94,
    "b": 170
  },
  "hsl": {
    "h": 229.565,
    "s": 37.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.12175,
    "h": 272.4
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#4E5EAA
secondary
#C0B894
accent
#B95BCD
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C12
muted
#7D7D81

Preview Lab

Preview with #4E5EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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