#4D59DC#4D59DC

#4D59DC is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.2% C 0.198 H 273.6°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4D59DC
RGBrgb(77, 89, 220)
HSLhsl(235, 67%, 58%)
HSVhsv(235, 65%, 86%)
CMYKcmyk(65%, 59.5%, 0%, 13.7%)
CIE-LABlab(44.07, 36.20, -68.50)
CIE-LCHlch(44.07, 77.48, 297.85°)
OKLaboklab(53.23% 0.0124 -0.1973)
OKLCHoklch(53.23% 0.198 273.6)
XYZxyz(19.5469, 13.8881, 69.3468)
Luminance0.1389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59DC #DCD04D
analogous
#4DA0DC #4D59DC #884DDC
triadic
#4D59DC #DC4D59 #59DC4D
tetradic
#4D59DC #DC4DA0 #DCD04D #4DDC88
square
#4D59DC #DC4DA0 #DCD04D #4DDC88
split-complementary
#4D59DC #DC884D #A0DC4D
monochromatic
#1D2792 #2734C5 #4D59DC #8089E6 #B3B8F0

Accessibility & contrast

On white

5.56
#4D59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#4D59DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59DC
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59DC#FFFFFF#000000##FFFFFF
##4D59DC1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#0062D9
Tritanopia (blue-blind)
#007992
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d59dc;
/* rgb */ color: rgb(77, 89, 220);
/* oklch */ color: oklch(53.2% 0.198 273.6);
Tailwind
colors: {
  custom: {
    50: '#8e88e8',
    500: '#4d59dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d59dc;
$custom-light: #8e88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59dc",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 234.965,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.53226,
    "c": 0.19771,
    "h": 273.6
  },
  "luminance": 0.1389
}

Semantic roles & 50–950 ramp

primary
#4D59DC
secondary
#DFDAA6
accent
#DC3EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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