#4D59CE#4D59CE

#4D59CE is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.179 H 274.0°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#4D59CE
RGBrgb(77, 89, 206)
HSLhsl(234, 57%, 55%)
HSVhsv(234, 63%, 81%)
CMYKcmyk(62.6%, 56.8%, 0%, 19.2%)
CIE-LABlab(43.03, 31.47, -62.18)
CIE-LCHlch(43.03, 69.69, 296.84°)
OKLaboklab(52.12% 0.0124 -0.1787)
OKLCHoklch(52.12% 0.179 274)
XYZxyz(17.7698, 13.1773, 59.9876)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59CE #CEC24D
analogous
#4D99CE #4D59CE #824DCE
triadic
#4D59CE #CE4D59 #59CE4D
tetradic
#4D59CE #CE4D99 #CEC24D #4DCE82
square
#4D59CE #CE4D99 #CEC24D #4DCE82
split-complementary
#4D59CE #CE824D #99CE4D
monochromatic
#232B7E #303CAE #4D59CE #7D86DB #ADB3E8

Accessibility & contrast

On white

5.78
#4D59CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#4D59CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59CE
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59CE#FFFFFF#000000##FFFFFF
##4D59CE1.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#0060CC
Tritanopia (blue-blind)
#00758B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #4d59ce;
/* rgb */ color: rgb(77, 89, 206);
/* oklch */ color: oklch(52.1% 0.179 274.0);
Tailwind
colors: {
  custom: {
    50: '#8c87de',
    500: '#4d59ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d59ce;
$custom-light: #8c87de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59ce",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 206
  },
  "hsl": {
    "h": 234.419,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.52124,
    "c": 0.17917,
    "h": 274
  },
  "luminance": 0.13179
}

Semantic roles & 50–950 ramp

primary
#4D59CE
secondary
#D6D1A1
accent
#D248E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D59CE

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

Preview Lab → · Contrast checker → · Palette generator →

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