#4D59CA#4D59CA

#4D59CA is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.8% C 0.174 H 274.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#4D59CA
RGBrgb(77, 89, 202)
HSLhsl(234, 54%, 55%)
HSVhsv(234, 62%, 79%)
CMYKcmyk(61.9%, 55.9%, 0%, 20.8%)
CIE-LABlab(42.74, 30.11, -60.34)
CIE-LCHlch(42.74, 67.44, 296.52°)
OKLaboklab(51.82% 0.0123 -0.1733)
OKLCHoklch(51.82% 0.174 274.1)
XYZxyz(17.2901, 12.9854, 57.4609)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D59CA #CABE4D
analogous
#4D98CA #4D59CA #804DCA
triadic
#4D59CA #CA4D59 #59CA4D
tetradic
#4D59CA #CA4D98 #CABE4D #4DCA80
square
#4D59CA #CA4D98 #CABE4D #4DCA80
split-complementary
#4D59CA #CA804D #98CA4D
monochromatic
#242C79 #323DA8 #4D59CA #7C85D8 #ABB1E6

Accessibility & contrast

On white

5.84
#4D59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#4D59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D59CA
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D59CA#FFFFFF#000000##FFFFFF
##4D59CA1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#007489
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d59ca;
/* rgb */ color: rgb(77, 89, 202);
/* oklch */ color: oklch(51.8% 0.174 274.1);
Tailwind
colors: {
  custom: {
    50: '#8b87db',
    500: '#4d59ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d59ca;
$custom-light: #8b87db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d59ca",
  "rgb": {
    "r": 77,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 234.24,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.51819,
    "c": 0.17378,
    "h": 274.1
  },
  "luminance": 0.12987
}

Semantic roles & 50–950 ramp

primary
#4D59CA
secondary
#D4CF9F
accent
#CF4ADD
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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