#4D59EC#4D59EC

#4D59EC is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 54.5% C 0.218 H 273.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4D59EC
RGBrgb(77, 89, 236)
HSLhsl(235, 81%, 61%)
HSVhsv(235, 67%, 93%)
CMYKcmyk(67.4%, 62.3%, 0%, 7.5%)
CIE-LABlab(45.33, 41.57, -75.52)
CIE-LCHlch(45.33, 86.21, 298.83°)
OKLaboklab(54.54% 0.0119 -0.2179)
OKLCHoklch(54.54% 0.218 273.1)
XYZxyz(21.7682, 14.7766, 81.0456)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59EC #ECE04D
analogous
#4DA9EC #4D59EC #914DEC
triadic
#4D59EC #EC4D59 #59EC4D
tetradic
#4D59EC #EC4DA9 #ECE04D #4DEC91
square
#4D59EC #EC4DA9 #ECE04D #4DEC91
split-complementary
#4D59EC #EC914D #A9EC4D
monochromatic
#121EAC #1828E4 #4D59EC #848DF2 #BCC0F8

Accessibility & contrast

On white

5.31
#4D59EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#4D59EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59EC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59EC#FFFFFF#000000##FFFFFF
##4D59EC1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#007F9A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d59ec;
/* rgb */ color: rgb(77, 89, 236);
/* oklch */ color: oklch(54.5% 0.218 273.1);
Tailwind
colors: {
  custom: {
    50: '#9188f3',
    500: '#4d59ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d59ec;
$custom-light: #9188f3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59ec",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 236
  },
  "hsl": {
    "h": 235.472,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.54541,
    "c": 0.21824,
    "h": 273.1
  },
  "luminance": 0.14779
}

Semantic roles & 50–950 ramp

primary
#4D59EC
secondary
#E8E4AD
accent
#CD08DD
background
#F9F8FF
surface
#F2EFFE
border
#CCCAD6
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D59EC

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

Preview Lab → · Contrast checker → · Palette generator →

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