#4D59DB#4D59DB

#4D59DB is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.1% C 0.196 H 273.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#4D59DB
RGBrgb(77, 89, 219)
HSLhsl(235, 66%, 58%)
HSVhsv(235, 65%, 86%)
CMYKcmyk(64.8%, 59.4%, 0%, 14.1%)
CIE-LABlab(44.00, 35.86, -68.06)
CIE-LCHlch(44.00, 76.93, 297.79°)
OKLaboklab(53.15% 0.0124 -0.196)
OKLCHoklch(53.15% 0.196 273.6)
XYZxyz(19.4149, 13.8353, 68.6514)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59DB #DBCF4D
analogous
#4DA0DB #4D59DB #884DDB
triadic
#4D59DB #DB4D59 #59DB4D
tetradic
#4D59DB #DB4DA0 #DBCF4D #4DDB88
square
#4D59DB #DB4DA0 #DBCF4D #4DDB88
split-complementary
#4D59DB #DB884D #A0DB4D
monochromatic
#1D2790 #2735C3 #4D59DB #8088E5 #B3B8F0

Accessibility & contrast

On white

5.57
#4D59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#4D59DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59DB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59DB#FFFFFF#000000##FFFFFF
##4D59DB1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#0062D8
Tritanopia (blue-blind)
#007991
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #4d59db;
/* rgb */ color: rgb(77, 89, 219);
/* oklch */ color: oklch(53.1% 0.196 273.6);
Tailwind
colors: {
  custom: {
    50: '#8e88e7',
    500: '#4d59db',
    950: '#000000',
  },
}
SCSS
$custom: #4d59db;
$custom-light: #8e88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59db",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 234.93,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53146,
    "c": 0.1964,
    "h": 273.6
  },
  "luminance": 0.13837
}

Semantic roles & 50–950 ramp

primary
#4D59DB
secondary
#DED9A6
accent
#DB3FE9
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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