#4E59D3#4E59D3

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

Color values

HEX#4E59D3
RGBrgb(78, 89, 211)
HSLhsl(235, 60%, 57%)
HSVhsv(235, 63%, 83%)
CMYKcmyk(63%, 57.8%, 0%, 17.3%)
CIE-LABlab(43.46, 33.32, -64.36)
CIE-LCHlch(43.46, 72.47, 297.37°)
OKLaboklab(52.57% 0.0136 -0.1851)
OKLCHoklch(52.57% 0.186 274.2)
XYZxyz(18.4683, 13.4661, 63.2414)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59D3 #D3C84E
analogous
#4E9BD3 #4E59D3 #864ED3
triadic
#4E59D3 #D34E59 #59D34E
tetradic
#4E59D3 #D34E9B #D3C84E #4ED386
square
#4E59D3 #D34E9B #D3C84E #4ED386
split-complementary
#4E59D3 #D3864E #9BD34E
monochromatic
#212985 #2D39B6 #4E59D3 #7F87DF #B0B5EB

Accessibility & contrast

On white

5.69
#4E59D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4E59D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59D3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59D3#FFFFFF#000000##FFFFFF
##4E59D31.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4e59d3;
/* rgb */ color: rgb(78, 89, 211);
/* oklch */ color: oklch(52.6% 0.186 274.2);
Tailwind
colors: {
  custom: {
    50: '#8d88e1',
    500: '#4e59d3',
    950: '#000000',
  },
}
SCSS
$custom: #4e59d3;
$custom-light: #8d88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59d3",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 211
  },
  "hsl": {
    "h": 235.038,
    "s": 60.181,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52574,
    "c": 0.18561,
    "h": 274.2
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#4E59D3
secondary
#DAD5A3
accent
#D644E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4E59D3

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

Preview Lab → · Contrast checker → · Palette generator →

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