#4D59D1#4D59D1

#4D59D1 is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.4% C 0.183 H 273.9°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4D59D1
RGBrgb(77, 89, 209)
HSLhsl(235, 59%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(63.2%, 57.4%, 0%, 18%)
CIE-LABlab(43.25, 32.48, -63.55)
CIE-LCHlch(43.25, 71.37, 297.07°)
OKLaboklab(52.36% 0.0125 -0.1828)
OKLCHoklch(52.36% 0.183 273.9)
XYZxyz(18.1378, 13.3245, 61.9253)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59D1 #D1C54D
analogous
#4D9BD1 #4D59D1 #834DD1
triadic
#4D59D1 #D14D59 #59D14D
tetradic
#4D59D1 #D14D9B #D1C54D #4DD183
square
#4D59D1 #D14D9B #D1C54D #4DD183
split-complementary
#4D59D1 #D1834D #9BD14D
monochromatic
#222A82 #2E3AB3 #4D59D1 #7E86DE #AEB4EA

Accessibility & contrast

On white

5.73
#4D59D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#4D59D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59D1
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59D1#FFFFFF#000000##FFFFFF
##4D59D11.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d59d1;
/* rgb */ color: rgb(77, 89, 209);
/* oklch */ color: oklch(52.4% 0.183 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c87e0',
    500: '#4d59d1',
    950: '#000000',
  },
}
SCSS
$custom: #4d59d1;
$custom-light: #8c87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59d1",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 209
  },
  "hsl": {
    "h": 234.545,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.52356,
    "c": 0.18319,
    "h": 273.9
  },
  "luminance": 0.13326
}

Semantic roles & 50–950 ramp

primary
#4D59D1
secondary
#D8D3A2
accent
#D446E2
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D59D1

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

Preview Lab → · Contrast checker → · Palette generator →

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