#4E4ABC#4E4ABC

#4E4ABC is a mid, vivid blue. Relative luminance 0.101; OKLCH L 48.1% C 0.174 H 279.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#4E4ABC
RGBrgb(78, 74, 188)
HSLhsl(242, 46%, 51%)
HSVhsv(242, 61%, 74%)
CMYKcmyk(58.5%, 60.6%, 0%, 26.3%)
CIE-LABlab(38.11, 34.96, -59.72)
CIE-LCHlch(38.11, 69.20, 300.35°)
OKLaboklab(48.07% 0.0277 -0.1716)
OKLCHoklch(48.07% 0.174 279.2)
XYZxyz(14.6649, 10.1471, 48.7530)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E4ABC #B8BC4A
analogous
#4A7FBC #4E4ABC #874ABC
triadic
#4E4ABC #BC4E4A #4ABC4E
tetradic
#4E4ABC #BC4A7F #B8BC4A #4ABC87
square
#4E4ABC #BC4A7F #B8BC4A #4ABC87
split-complementary
#4E4ABC #BC874A #7FBC4A
monochromatic
#282666 #393693 #4E4ABC #7A77CD #A5A3DD

Accessibility & contrast

On white

6.93
#4E4ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#4E4ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E4ABC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E4ABC#FFFFFF#000000##FFFFFF
##4E4ABC1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#02667C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4e4abc;
/* rgb */ color: rgb(78, 74, 188);
/* oklch */ color: oklch(48.1% 0.174 279.2);
Tailwind
colors: {
  custom: {
    50: '#8a7dd1',
    500: '#4e4abc',
    950: '#000000',
  },
}
SCSS
$custom: #4e4abc;
$custom-light: #8a7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e4abc",
  "rgb": {
    "r": 78,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 242.105,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48074,
    "c": 0.17382,
    "h": 279.2
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#4E4ABC
secondary
#C8CA98
accent
#D652D1
background
#F9F7FC
surface
#F1EEF9
border
#CBC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #4E4ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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