#4E59D4#4E59D4

#4E59D4 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.7% C 0.187 H 274.2°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4E59D4
RGBrgb(78, 89, 212)
HSLhsl(235, 61%, 57%)
HSVhsv(235, 63%, 83%)
CMYKcmyk(63.2%, 58%, 0%, 16.9%)
CIE-LABlab(43.53, 33.66, -64.81)
CIE-LCHlch(43.53, 73.03, 297.44°)
OKLaboklab(52.65% 0.0136 -0.1864)
OKLCHoklch(52.65% 0.187 274.2)
XYZxyz(18.5940, 13.5164, 63.9036)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D4 #D4C94E
analogous
#4E9CD4 #4E59D4 #864ED4
triadic
#4E59D4 #D44E59 #59D44E
tetradic
#4E59D4 #D44E9C #D4C94E #4ED486
square
#4E59D4 #D44E9C #D4C94E #4ED486
split-complementary
#4E59D4 #D4864E #9CD44E
monochromatic
#212987 #2D38B8 #4E59D4 #7F87E0 #B0B5EC

Accessibility & contrast

On white

5.67
#4E59D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4E59D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59D4
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59D4#FFFFFF#000000##FFFFFF
##4E59D41.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#0061D2
Tritanopia (blue-blind)
#00778E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e59d4;
/* rgb */ color: rgb(78, 89, 212);
/* oklch */ color: oklch(52.7% 0.187 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d88e2',
    500: '#4e59d4',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d4;
$custom-light: #8d88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d4",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 212
  },
  "hsl": {
    "h": 235.075,
    "s": 60.909,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52653,
    "c": 0.18693,
    "h": 274.2
  },
  "luminance": 0.13518
}

Semantic roles & 50–950 ramp

primary
#4E59D4
secondary
#DAD6A4
accent
#D744E4
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B15
muted
#7E7C84

Preview Lab

Preview with #4E59D4

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

Preview Lab → · Contrast checker → · Palette generator →

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