#4E59BD#4E59BD

#4E59BD is a mid, vivid blue. Relative luminance 0.124; OKLCH L 50.9% C 0.156 H 274.7°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#4E59BD
RGBrgb(78, 89, 189)
HSLhsl(234, 46%, 52%)
HSVhsv(234, 59%, 74%)
CMYKcmyk(58.7%, 52.9%, 0%, 25.9%)
CIE-LABlab(41.90, 25.90, -54.16)
CIE-LCHlch(41.90, 60.03, 295.56°)
OKLaboklab(50.92% 0.0128 -0.1551)
OKLCHoklch(50.92% 0.156 274.7)
XYZxyz(15.8966, 12.4374, 49.6972)
Luminance0.1244 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59BD #BDB24E
analogous
#4E91BD #4E59BD #7B4EBD
triadic
#4E59BD #BD4E59 #59BD4E
tetradic
#4E59BD #BD4E91 #BDB24E #4EBD7B
square
#4E59BD #BD4E91 #BDB24E #4EBD7B
split-complementary
#4E59BD #BD7B4E #91BD4E
monochromatic
#272E69 #384196 #4E59BD #7B83CE #A7ADDE

Accessibility & contrast

On white

6.02
#4E59BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#4E59BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59BD
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59BD#FFFFFF#000000##FFFFFF
##4E59BD1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e59bd;
/* rgb */ color: rgb(78, 89, 189);
/* oklch */ color: oklch(50.9% 0.156 274.7);
Tailwind
colors: {
  custom: {
    50: '#8987d1',
    500: '#4e59bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e59bd;
$custom-light: #8987d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59bd",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 189
  },
  "hsl": {
    "h": 234.054,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50921,
    "c": 0.15563,
    "h": 274.7
  },
  "luminance": 0.12439
}

Semantic roles & 50–950 ramp

primary
#4E59BD
secondary
#CCC79B
accent
#C852D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0B14
muted
#7D7C82

Preview Lab

Preview with #4E59BD

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

Preview Lab → · Contrast checker → · Palette generator →

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