#4D59E6#4D59E6

#4D59E6 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.0% C 0.211 H 273.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4D59E6
RGBrgb(77, 89, 230)
HSLhsl(235, 75%, 60%)
HSVhsv(235, 67%, 90%)
CMYKcmyk(66.5%, 61.3%, 0%, 9.8%)
CIE-LABlab(44.85, 39.57, -72.91)
CIE-LCHlch(44.85, 82.96, 298.49°)
OKLaboklab(54.04% 0.0121 -0.2103)
OKLCHoklch(54.04% 0.211 273.3)
XYZxyz(20.9111, 14.4338, 76.5316)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59E6 #E6DA4D
analogous
#4DA6E6 #4D59E6 #8D4DE6
triadic
#4D59E6 #E64D59 #59E64D
tetradic
#4D59E6 #E64DA6 #E6DA4D #4DE68D
square
#4D59E6 #E64DA6 #E6DA4D #4DE68D
split-complementary
#4D59E6 #E68D4D #A6E64D
monochromatic
#1722A2 #1E2DD8 #4D59E6 #838BEE #B8BDF5

Accessibility & contrast

On white

5.40
#4D59E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#4D59E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59E6
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59E6#FFFFFF#000000##FFFFFF
##4D59E61.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0063E3
Tritanopia (blue-blind)
#007D97
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d59e6;
/* rgb */ color: rgb(77, 89, 230);
/* oklch */ color: oklch(54.0% 0.211 273.3);
Tailwind
colors: {
  custom: {
    50: '#9088ef',
    500: '#4d59e6',
    950: '#000000',
  },
}
SCSS
$custom: #4d59e6;
$custom-light: #9088ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59e6",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 230
  },
  "hsl": {
    "h": 235.294,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.54041,
    "c": 0.21062,
    "h": 273.3
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#4D59E6
secondary
#E5E0AA
accent
#C80ED8
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D59E6

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

Preview Lab → · Contrast checker → · Palette generator →

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