#4D59D8#4D59D8

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

Color values

HEX#4D59D8
RGBrgb(77, 89, 216)
HSLhsl(235, 64%, 57%)
HSVhsv(235, 64%, 85%)
CMYKcmyk(64.4%, 58.8%, 0%, 15.3%)
CIE-LABlab(43.77, 34.85, -66.71)
CIE-LCHlch(43.77, 75.27, 297.58°)
OKLaboklab(52.91% 0.0125 -0.1921)
OKLCHoklch(52.91% 0.192 273.7)
XYZxyz(19.0235, 13.6788, 66.5902)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59D8 #D8CC4D
analogous
#4D9FD8 #4D59D8 #864DD8
triadic
#4D59D8 #D84D59 #59D84D
tetradic
#4D59D8 #D84D9F #D8CC4D #4DD886
square
#4D59D8 #D84D9F #D8CC4D #4DD886
split-complementary
#4D59D8 #D8864D #9FD84D
monochromatic
#1F288C #2A36BE #4D59D8 #7F88E3 #B1B7EE

Accessibility & contrast

On white

5.62
#4D59D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#4D59D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59D8
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59D8#FFFFFF#000000##FFFFFF
##4D59D81.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0061D5
Tritanopia (blue-blind)
#007890
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #4d59d8;
/* rgb */ color: rgb(77, 89, 216);
/* oklch */ color: oklch(52.9% 0.192 273.7);
Tailwind
colors: {
  custom: {
    50: '#8e88e5',
    500: '#4d59d8',
    950: '#000000',
  },
}
SCSS
$custom: #4d59d8;
$custom-light: #8e88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59d8",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 216
  },
  "hsl": {
    "h": 234.82,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.52906,
    "c": 0.19247,
    "h": 273.7
  },
  "luminance": 0.1368
}

Semantic roles & 50–950 ramp

primary
#4D59D8
secondary
#DCD8A4
accent
#D941E7
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D59D8

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

Preview Lab → · Contrast checker → · Palette generator →

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