#4D59D7#4D59D7

#4D59D7 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.191 H 273.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4D59D7
RGBrgb(77, 89, 215)
HSLhsl(235, 63%, 57%)
HSVhsv(235, 64%, 84%)
CMYKcmyk(64.2%, 58.6%, 0%, 15.7%)
CIE-LABlab(43.69, 34.51, -66.27)
CIE-LCHlch(43.69, 74.71, 297.51°)
OKLaboklab(52.83% 0.0125 -0.1907)
OKLCHoklch(52.83% 0.191 273.7)
XYZxyz(18.8946, 13.6272, 65.9114)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59D7 #D7CB4D
analogous
#4D9ED7 #4D59D7 #864DD7
triadic
#4D59D7 #D74D59 #59D74D
tetradic
#4D59D7 #D74D9E #D7CB4D #4DD786
square
#4D59D7 #D74D9E #D7CB4D #4DD786
split-complementary
#4D59D7 #D7864D #9ED74D
monochromatic
#1F288A #2A37BC #4D59D7 #7F88E2 #B1B6ED

Accessibility & contrast

On white

5.64
#4D59D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#4D59D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59D7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59D7#FFFFFF#000000##FFFFFF
##4D59D71.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#00788F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d59d7;
/* rgb */ color: rgb(77, 89, 215);
/* oklch */ color: oklch(52.8% 0.191 273.7);
Tailwind
colors: {
  custom: {
    50: '#8d88e4',
    500: '#4d59d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d59d7;
$custom-light: #8d88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59d7",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 234.783,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52827,
    "c": 0.19116,
    "h": 273.7
  },
  "luminance": 0.13629
}

Semantic roles & 50–950 ramp

primary
#4D59D7
secondary
#DCD7A4
accent
#D841E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4D59D7

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

Preview Lab → · Contrast checker → · Palette generator →

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