#4E5ACD#4E5ACD

#4E5ACD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.3% C 0.176 H 274.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4E5ACD
RGBrgb(78, 90, 205)
HSLhsl(234, 56%, 55%)
HSVhsv(234, 62%, 80%)
CMYKcmyk(62%, 56.1%, 0%, 19.6%)
CIE-LABlab(43.27, 30.67, -61.22)
CIE-LCHlch(43.27, 68.47, 296.61°)
OKLaboklab(52.3% 0.0126 -0.1759)
OKLCHoklch(52.3% 0.176 274.1)
XYZxyz(17.8139, 13.3383, 59.3816)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E5ACD #CDC14E
analogous
#4E99CD #4E5ACD #824ECD
triadic
#4E5ACD #CD4E5A #5ACD4E
tetradic
#4E5ACD #CD4E99 #CDC14E #4ECD82
square
#4E5ACD #CD4E99 #CDC14E #4ECD82
split-complementary
#4E5ACD #CD824E #99CD4E
monochromatic
#232C7D #313DAD #4E5ACD #7E86DA #ADB3E8

Accessibility & contrast

On white

5.73
#4E5ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4E5ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E5ACD
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E5ACD#FFFFFF#000000##FFFFFF
##4E5ACD1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e5acd;
/* rgb */ color: rgb(78, 90, 205);
/* oklch */ color: oklch(52.3% 0.176 274.1);
Tailwind
colors: {
  custom: {
    50: '#8c88dd',
    500: '#4e5acd',
    950: '#000000',
  },
}
SCSS
$custom: #4e5acd;
$custom-light: #8c88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e5acd",
  "rgb": {
    "r": 78,
    "g": 90,
    "b": 205
  },
  "hsl": {
    "h": 234.331,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52296,
    "c": 0.17631,
    "h": 274.1
  },
  "luminance": 0.1334
}

Semantic roles & 50–950 ramp

primary
#4E5ACD
secondary
#D6D1A1
accent
#D149DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E5ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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