#4D59E1#4D59E1

#4D59E1 is a mid, highly saturated blue. Relative luminance 0.142; OKLCH L 53.6% C 0.204 H 273.5°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4D59E1
RGBrgb(77, 89, 225)
HSLhsl(235, 71%, 59%)
HSVhsv(235, 66%, 88%)
CMYKcmyk(65.8%, 60.4%, 0%, 11.8%)
CIE-LABlab(44.46, 37.89, -70.72)
CIE-LCHlch(44.46, 80.23, 298.18°)
OKLaboklab(53.63% 0.0123 -0.2038)
OKLCHoklch(53.63% 0.204 273.5)
XYZxyz(20.2190, 14.1570, 72.8866)
Luminance0.1416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59E1 #E1D54D
analogous
#4DA3E1 #4D59E1 #8B4DE1
triadic
#4D59E1 #E14D59 #59E14D
tetradic
#4D59E1 #E14DA3 #E1D54D #4DE18B
square
#4D59E1 #E14DA3 #E1D54D #4DE18B
split-complementary
#4D59E1 #E18B4D #A3E14D
monochromatic
#1A249A #2331CE #4D59E1 #818AEA #B6BBF3

Accessibility & contrast

On white

5.48
#4D59E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#4D59E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59E1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59E1#FFFFFF#000000##FFFFFF
##4D59E11.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E5
Deuteranopia (green-blind)
#0063DE
Tritanopia (blue-blind)
#007B94
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4d59e1;
/* rgb */ color: rgb(77, 89, 225);
/* oklch */ color: oklch(53.6% 0.204 273.5);
Tailwind
colors: {
  custom: {
    50: '#8f88eb',
    500: '#4d59e1',
    950: '#000000',
  },
}
SCSS
$custom: #4d59e1;
$custom-light: #8f88eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59e1",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 225
  },
  "hsl": {
    "h": 235.135,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53631,
    "c": 0.2042,
    "h": 273.5
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#4D59E1
secondary
#E2DDA8
accent
#DF3AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D59E1

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

Preview Lab → · Contrast checker → · Palette generator →

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