#4E59BE#4E59BE

#4E59BE is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.157 H 274.7°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#4E59BE
RGBrgb(78, 89, 190)
HSLhsl(234, 46%, 53%)
HSVhsv(234, 59%, 75%)
CMYKcmyk(58.9%, 53.2%, 0%, 25.5%)
CIE-LABlab(41.97, 26.24, -54.63)
CIE-LCHlch(41.97, 60.60, 295.65°)
OKLaboklab(50.99% 0.0129 -0.1565)
OKLCHoklch(50.99% 0.157 274.7)
XYZxyz(16.0055, 12.4810, 50.2708)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E59BE #BEB34E
analogous
#4E91BE #4E59BE #7B4EBE
triadic
#4E59BE #BE4E59 #59BE4E
tetradic
#4E59BE #BE4E91 #BEB34E #4EBE7B
square
#4E59BE #BE4E91 #BEB34E #4EBE7B
split-complementary
#4E59BE #BE7B4E #91BE4E
monochromatic
#272E6A #384197 #4E59BE #7B83CE #A8ADDF

Accessibility & contrast

On white

6.01
#4E59BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#4E59BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4E59BE
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E59BE#FFFFFF#000000##FFFFFF
##4E59BE1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#007083
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4e59be;
/* rgb */ color: rgb(78, 89, 190);
/* oklch */ color: oklch(51.0% 0.157 274.7);
Tailwind
colors: {
  custom: {
    50: '#8987d2',
    500: '#4e59be',
    950: '#000000',
  },
}
SCSS
$custom: #4e59be;
$custom-light: #8987d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e59be",
  "rgb": {
    "r": 78,
    "g": 89,
    "b": 190
  },
  "hsl": {
    "h": 234.107,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50993,
    "c": 0.15703,
    "h": 274.7
  },
  "luminance": 0.12482
}

Semantic roles & 50–950 ramp

primary
#4E59BE
secondary
#CCC79C
accent
#C952D6
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B14
muted
#7D7C83

Preview Lab

Preview with #4E59BE

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

Preview Lab → · Contrast checker → · Palette generator →

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