#4D59D3#4D59D3

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

Color values

HEX#4D59D3
RGBrgb(77, 89, 211)
HSLhsl(235, 60%, 56%)
HSVhsv(235, 64%, 83%)
CMYKcmyk(63.5%, 57.8%, 0%, 17.3%)
CIE-LABlab(43.40, 33.16, -64.46)
CIE-LCHlch(43.40, 72.49, 297.22°)
OKLaboklab(52.51% 0.0125 -0.1854)
OKLCHoklch(52.51% 0.186 273.9)
XYZxyz(18.3869, 13.4241, 63.2375)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59D3 #D3C74D
analogous
#4D9CD3 #4D59D3 #844DD3
triadic
#4D59D3 #D34D59 #59D34D
tetradic
#4D59D3 #D34D9C #D3C74D #4DD384
square
#4D59D3 #D34D9C #D3C74D #4DD384
split-complementary
#4D59D3 #D3844D #9CD34D
monochromatic
#212A85 #2D39B6 #4D59D3 #7E87DF #AFB5EB

Accessibility & contrast

On white

5.70
#4D59D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#4D59D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59D3
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59D3#FFFFFF#000000##FFFFFF
##4D59D31.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#0061D1
Tritanopia (blue-blind)
#00778D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d59d3;
/* rgb */ color: rgb(77, 89, 211);
/* oklch */ color: oklch(52.5% 0.186 273.9);
Tailwind
colors: {
  custom: {
    50: '#8d87e1',
    500: '#4d59d3',
    950: '#000000',
  },
}
SCSS
$custom: #4d59d3;
$custom-light: #8d87e1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59d3",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 211
  },
  "hsl": {
    "h": 234.627,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.18586,
    "h": 273.9
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4D59D3

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

Preview Lab → · Contrast checker → · Palette generator →

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