#4D59D2#4D59D2

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

Color values

HEX#4D59D2
RGBrgb(77, 89, 210)
HSLhsl(235, 60%, 56%)
HSVhsv(235, 63%, 82%)
CMYKcmyk(63.3%, 57.6%, 0%, 17.6%)
CIE-LABlab(43.32, 32.82, -64.01)
CIE-LCHlch(43.32, 71.93, 297.15°)
OKLaboklab(52.43% 0.0125 -0.1841)
OKLCHoklch(52.43% 0.185 273.9)
XYZxyz(18.2620, 13.3741, 62.5794)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59D2 #D2C64D
analogous
#4D9CD2 #4D59D2 #844DD2
triadic
#4D59D2 #D24D59 #59D24D
tetradic
#4D59D2 #D24D9C #D2C64D #4DD284
square
#4D59D2 #D24D9C #D2C64D #4DD284
split-complementary
#4D59D2 #D2844D #9CD24D
monochromatic
#212A83 #2E3AB4 #4D59D2 #7E87DE #AFB4EB

Accessibility & contrast

On white

5.71
#4D59D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#4D59D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59D2
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59D2#FFFFFF#000000##FFFFFF
##4D59D21.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD6
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d59d2;
/* rgb */ color: rgb(77, 89, 210);
/* oklch */ color: oklch(52.4% 0.185 273.9);
Tailwind
colors: {
  custom: {
    50: '#8c87e1',
    500: '#4d59d2',
    950: '#000000',
  },
}
SCSS
$custom: #4d59d2;
$custom-light: #8c87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59d2",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 210
  },
  "hsl": {
    "h": 234.586,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52434,
    "c": 0.18453,
    "h": 273.9
  },
  "luminance": 0.13376
}

Semantic roles & 50–950 ramp

primary
#4D59D2
secondary
#D9D4A2
accent
#D545E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D59D2

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

Preview Lab → · Contrast checker → · Palette generator →

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