#4E59B3#4E59B3

#4E59B3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.2% C 0.142 H 274.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#4E59B3
RGBrgb(78, 89, 179)
HSLhsl(233, 40%, 50%)
HSVhsv(233, 56%, 70%)
CMYKcmyk(56.4%, 50.3%, 0%, 29.8%)
CIE-LABlab(41.24, 22.54, -49.36)
CIE-LCHlch(41.24, 54.27, 294.54°)
OKLaboklab(50.22% 0.012 -0.141)
OKLCHoklch(50.22% 0.142 274.9)
XYZxyz(14.8483, 12.0181, 44.1764)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59B3 #B3A84E
analogous
#4E8CB3 #4E59B3 #754EB3
triadic
#4E59B3 #B34E59 #59B34E
tetradic
#4E59B3 #B34E8C #B3A84E #4EB375
square
#4E59B3 #B34E8C #B3A84E #4EB375
split-complementary
#4E59B3 #B3754E #8CB34E
monochromatic
#282E5E #3B4389 #4E59B3 #7981C5 #A4A9D8

Accessibility & contrast

On white

6.17
#4E59B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#4E59B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59B3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59B3#FFFFFF#000000##FFFFFF
##4E59B31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B66B6
Deuteranopia (green-blind)
#1B5DB1
Tritanopia (blue-blind)
#156D7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4e59b3;
/* rgb */ color: rgb(78, 89, 179);
/* oklch */ color: oklch(50.2% 0.142 274.9);
Tailwind
colors: {
  custom: {
    50: '#8887ca',
    500: '#4e59b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e59b3;
$custom-light: #8887ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59b3",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 233.465,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50215,
    "c": 0.14151,
    "h": 274.9
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#4E59B3
secondary
#C5C098
accent
#C358D0
background
#F8F8FC
surface
#F0EFF8
border
#CBCAD1
text
#0C0B13
muted
#7D7C82

Preview Lab

Preview with #4E59B3

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

Preview Lab → · Contrast checker → · Palette generator →

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