#4E59CD#4E59CD

#4E59CD is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.178 H 274.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4E59CD
RGBrgb(78, 89, 205)
HSLhsl(235, 56%, 55%)
HSVhsv(235, 62%, 80%)
CMYKcmyk(62%, 56.6%, 0%, 19.6%)
CIE-LABlab(43.02, 31.30, -61.62)
CIE-LCHlch(43.02, 69.11, 296.92°)
OKLaboklab(52.11% 0.0135 -0.1771)
OKLCHoklch(52.11% 0.178 274.4)
XYZxyz(17.7301, 13.1708, 59.3537)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59CD #CDC24E
analogous
#4E98CD #4E59CD #824ECD
triadic
#4E59CD #CD4E59 #59CD4E
tetradic
#4E59CD #CD4E98 #CDC24E #4ECD82
square
#4E59CD #CD4E98 #CDC24E #4ECD82
split-complementary
#4E59CD #CD824E #98CD4E
monochromatic
#232B7D #313CAD #4E59CD #7E86DA #ADB3E8

Accessibility & contrast

On white

5.78
#4E59CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4E59CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59CD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59CD#FFFFFF#000000##FFFFFF
##4E59CD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#00758A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4e59cd;
/* rgb */ color: rgb(78, 89, 205);
/* oklch */ color: oklch(52.1% 0.178 274.4);
Tailwind
colors: {
  custom: {
    50: '#8c87dd',
    500: '#4e59cd',
    950: '#000000',
  },
}
SCSS
$custom: #4e59cd;
$custom-light: #8c87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59cd",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 205
  },
  "hsl": {
    "h": 234.803,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.17757,
    "h": 274.4
  },
  "luminance": 0.13172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E59CD

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

Preview Lab → · Contrast checker → · Palette generator →

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