#4D59D6#4D59D6

#4D59D6 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.190 H 273.8°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4D59D6
RGBrgb(77, 89, 214)
HSLhsl(235, 63%, 57%)
HSVhsv(235, 64%, 84%)
CMYKcmyk(64%, 58.4%, 0%, 16.1%)
CIE-LABlab(43.62, 34.17, -65.82)
CIE-LCHlch(43.62, 74.16, 297.44°)
OKLaboklab(52.75% 0.0125 -0.1894)
OKLCHoklch(52.75% 0.19 273.8)
XYZxyz(18.7665, 13.5760, 65.2367)
Luminance0.1358 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59D6 #D6CA4D
analogous
#4D9DD6 #4D59D6 #864DD6
triadic
#4D59D6 #D64D59 #59D64D
tetradic
#4D59D6 #D64D9D #D6CA4D #4DD686
square
#4D59D6 #D64D9D #D6CA4D #4DD686
split-complementary
#4D59D6 #D6864D #9DD64D
monochromatic
#202989 #2B38BB #4D59D6 #7F87E1 #B0B6ED

Accessibility & contrast

On white

5.65
#4D59D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#4D59D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59D6
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59D6#FFFFFF#000000##FFFFFF
##4D59D61.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d59d6;
/* rgb */ color: rgb(77, 89, 214);
/* oklch */ color: oklch(52.7% 0.190 273.8);
Tailwind
colors: {
  custom: {
    50: '#8d88e4',
    500: '#4d59d6',
    950: '#000000',
  },
}
SCSS
$custom: #4d59d6;
$custom-light: #8d88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59d6",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 214
  },
  "hsl": {
    "h": 234.745,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.52748,
    "c": 0.18984,
    "h": 273.8
  },
  "luminance": 0.13578
}

Semantic roles & 50–950 ramp

primary
#4D59D6
secondary
#DBD6A4
accent
#D742E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #4D59D6

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

Preview Lab → · Contrast checker → · Palette generator →

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