#4D59D9#4D59D9

#4D59D9 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 53.0% C 0.194 H 273.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#4D59D9
RGBrgb(77, 89, 217)
HSLhsl(235, 65%, 58%)
HSVhsv(235, 65%, 85%)
CMYKcmyk(64.5%, 59%, 0%, 14.9%)
CIE-LABlab(43.84, 35.19, -67.16)
CIE-LCHlch(43.84, 75.82, 297.65°)
OKLaboklab(52.99% 0.0124 -0.1934)
OKLCHoklch(52.99% 0.194 273.7)
XYZxyz(19.1532, 13.7306, 67.2731)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59D9 #D9CD4D
analogous
#4D9FD9 #4D59D9 #874DD9
triadic
#4D59D9 #D94D59 #59D94D
tetradic
#4D59D9 #D94D9F #D9CD4D #4DD987
square
#4D59D9 #D94D9F #D9CD4D #4DD987
split-complementary
#4D59D9 #D9874D #9FD94D
monochromatic
#1E288D #2936C0 #4D59D9 #7F88E4 #B2B7EF

Accessibility & contrast

On white

5.61
#4D59D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#4D59D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59D9
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59D9#FFFFFF#000000##FFFFFF
##4D59D91.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#007990
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d59d9;
/* rgb */ color: rgb(77, 89, 217);
/* oklch */ color: oklch(53.0% 0.194 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e88e6',
    500: '#4d59d9',
    950: '#000000',
  },
}
SCSS
$custom: #4d59d9;
$custom-light: #8e88e6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59d9",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 217
  },
  "hsl": {
    "h": 234.857,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52986,
    "c": 0.19379,
    "h": 273.7
  },
  "luminance": 0.13732
}

Semantic roles & 50–950 ramp

primary
#4D59D9
secondary
#DDD8A5
accent
#D940E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D59D9

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

Preview Lab → · Contrast checker → · Palette generator →

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