#4E59D0#4E59D0

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

Color values

HEX#4E59D0
RGBrgb(78, 89, 208)
HSLhsl(235, 58%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(62.5%, 57.2%, 0%, 18.4%)
CIE-LABlab(43.24, 32.31, -62.99)
CIE-LCHlch(43.24, 70.79, 297.15°)
OKLaboklab(52.34% 0.0136 -0.1811)
OKLCHoklch(52.34% 0.182 274.3)
XYZxyz(18.0957, 13.3170, 61.2791)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D0 #D0C54E
analogous
#4E9AD0 #4E59D0 #844ED0
triadic
#4E59D0 #D04E59 #59D04E
tetradic
#4E59D0 #D04E9A #D0C54E #4ED084
square
#4E59D0 #D04E9A #D0C54E #4ED084
split-complementary
#4E59D0 #D0844E #9AD04E
monochromatic
#222A81 #2F3AB2 #4E59D0 #7E86DD #AFB4EA

Accessibility & contrast

On white

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

On black

3.66
#4E59D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4E59D0#FFFFFF#000000##FFFFFF
##4E59D01.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD4
Deuteranopia (green-blind)
#0061CE
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e59d0;
/* rgb */ color: rgb(78, 89, 208);
/* oklch */ color: oklch(52.3% 0.182 274.3);
Tailwind
colors: {
  custom: {
    50: '#8d87df',
    500: '#4e59d0',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d0;
$custom-light: #8d87df;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d0",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 208
  },
  "hsl": {
    "h": 234.923,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.18161,
    "h": 274.3
  },
  "luminance": 0.13319
}

Semantic roles & 50–950 ramp

primary
#4E59D0
secondary
#D8D3A2
accent
#D447E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E59D0

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

Preview Lab → · Contrast checker → · Palette generator →

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