#4D5AD1#4D5AD1

#4D5AD1 is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.5% C 0.182 H 273.6°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#4D5AD1
RGBrgb(77, 90, 209)
HSLhsl(234, 59%, 56%)
HSVhsv(234, 63%, 82%)
CMYKcmyk(63.2%, 56.9%, 0%, 18%)
CIE-LABlab(43.50, 31.86, -63.15)
CIE-LCHlch(43.50, 70.73, 296.77°)
OKLaboklab(52.54% 0.0116 -0.1816)
OKLCHoklch(52.54% 0.182 273.6)
XYZxyz(18.2215, 13.4920, 61.9532)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5AD1 #D1C44D
analogous
#4D9CD1 #4D5AD1 #824DD1
triadic
#4D5AD1 #D14D5A #5AD14D
tetradic
#4D5AD1 #D14D9C #D1C44D #4DD182
square
#4D5AD1 #D14D9C #D1C44D #4DD182
split-complementary
#4D5AD1 #D1824D #9CD14D
monochromatic
#222B82 #2E3BB3 #4D5AD1 #7E87DE #AEB4EA

Accessibility & contrast

On white

5.68
#4D5AD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#4D5AD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5AD1
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5AD1#FFFFFF#000000##FFFFFF
##4D5AD11.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d5ad1;
/* rgb */ color: rgb(77, 90, 209);
/* oklch */ color: oklch(52.5% 0.182 273.6);
Tailwind
colors: {
  custom: {
    50: '#8c88e0',
    500: '#4d5ad1',
    950: '#000000',
  },
}
SCSS
$custom: #4d5ad1;
$custom-light: #8c88e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5ad1",
  "rgb": {
    "r": 77,
    "g": 90,
    "b": 209
  },
  "hsl": {
    "h": 234.091,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5254,
    "c": 0.18195,
    "h": 273.6
  },
  "luminance": 0.13494
}

Semantic roles & 50–950 ramp

primary
#4D5AD1
secondary
#D8D3A2
accent
#D346E2
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D5AD1

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

Preview Lab → · Contrast checker → · Palette generator →

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