#4E59B0#4E59B0

#4E59B0 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.0% C 0.137 H 274.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#4E59B0
RGBrgb(78, 89, 176)
HSLhsl(233, 39%, 50%)
HSVhsv(233, 56%, 69%)
CMYKcmyk(55.7%, 49.4%, 0%, 31%)
CIE-LABlab(41.05, 21.54, -47.91)
CIE-LCHlch(41.05, 52.53, 294.21°)
OKLaboklab(50.01% 0.0117 -0.1367)
OKLCHoklch(50.01% 0.137 274.9)
XYZxyz(14.5482, 11.8980, 42.5958)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59B0 #B0A54E
analogous
#4E8AB0 #4E59B0 #744EB0
triadic
#4E59B0 #B04E59 #59B04E
tetradic
#4E59B0 #B04E8A #B0A54E #4EB074
square
#4E59B0 #B04E8A #B0A54E #4EB074
split-complementary
#4E59B0 #B0744E #8AB04E
monochromatic
#282E5B #3B4486 #4E59B0 #7880C3 #A2A8D6

Accessibility & contrast

On white

6.21
#4E59B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#4E59B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59B0
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59B0#FFFFFF#000000##FFFFFF
##4E59B01.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B3
Deuteranopia (green-blind)
#215DAE
Tritanopia (blue-blind)
#1A6C7C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e59b0;
/* rgb */ color: rgb(78, 89, 176);
/* oklch */ color: oklch(50.0% 0.137 274.9);
Tailwind
colors: {
  custom: {
    50: '#8787c8',
    500: '#4e59b0',
    950: '#000000',
  },
}
SCSS
$custom: #4e59b0;
$custom-light: #8787c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59b0",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 176
  },
  "hsl": {
    "h": 233.265,
    "s": 38.583,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50009,
    "c": 0.13722,
    "h": 274.9
  },
  "luminance": 0.11899
}

Semantic roles & 50–950 ramp

primary
#4E59B0
secondary
#C3BE97
accent
#C159CF
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E59B0

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

Preview Lab → · Contrast checker → · Palette generator →

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