#4D59EA#4D59EA

#4D59EA is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.4% C 0.216 H 273.2°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4D59EA
RGBrgb(77, 89, 234)
HSLhsl(235, 79%, 61%)
HSVhsv(235, 67%, 92%)
CMYKcmyk(67.1%, 62%, 0%, 8.2%)
CIE-LABlab(45.17, 40.91, -74.65)
CIE-LCHlch(45.17, 85.12, 298.72°)
OKLaboklab(54.37% 0.012 -0.2154)
OKLCHoklch(54.37% 0.216 273.2)
XYZxyz(21.4793, 14.6611, 79.5239)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59EA #EADE4D
analogous
#4DA7EA #4D59EA #8F4DEA
triadic
#4D59EA #EA4D59 #59EA4D
tetradic
#4D59EA #EA4DA7 #EADE4D #4DEA8F
square
#4D59EA #EA4DA7 #EADE4D #4DEA8F
split-complementary
#4D59EA #EA8F4D #A7EA4D
monochromatic
#141FA9 #1A29DF #4D59EA #848CF0 #BABFF7

Accessibility & contrast

On white

5.34
#4D59EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#4D59EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59EA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59EA#FFFFFF#000000##FFFFFF
##4D59EA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EF
Deuteranopia (green-blind)
#0064E7
Tritanopia (blue-blind)
#007E99
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d59ea;
/* rgb */ color: rgb(77, 89, 234);
/* oklch */ color: oklch(54.4% 0.216 273.2);
Tailwind
colors: {
  custom: {
    50: '#9188f2',
    500: '#4d59ea',
    950: '#000000',
  },
}
SCSS
$custom: #4d59ea;
$custom-light: #9188f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59ea",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 234
  },
  "hsl": {
    "h": 235.414,
    "s": 78.894,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54374,
    "c": 0.21571,
    "h": 273.2
  },
  "luminance": 0.14663
}

Semantic roles & 50–950 ramp

primary
#4D59EA
secondary
#E7E2AC
accent
#CB0ADB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85

Preview Lab

Preview with #4D59EA

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

Preview Lab → · Contrast checker → · Palette generator →

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