#4D6CD2#4D6CD2

#4D6CD2 is a mid, vivid blue. Relative luminance 0.170; OKLCH L 56.1% C 0.161 H 268.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4D6CD2
RGBrgb(77, 108, 210)
HSLhsl(226, 60%, 56%)
HSVhsv(226, 63%, 82%)
CMYKcmyk(63.3%, 48.6%, 0%, 17.6%)
CIE-LABlab(48.20, 20.92, -56.12)
CIE-LCHlch(48.20, 59.89, 290.44°)
OKLaboklab(56.11% -0.0051 -0.1607)
OKLCHoklch(56.11% 0.161 268.2)
XYZxyz(20.0520, 16.9543, 63.1761)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6CD2 #D2B34D
analogous
#4DAFD2 #4D6CD2 #714DD2
triadic
#4D6CD2 #D24D6C #6CD24D
tetradic
#4D6CD2 #D24DAF #D2B34D #4DD271
square
#4D6CD2 #D24DAF #D2B34D #4DD271
split-complementary
#4D6CD2 #D2714D #AFD24D
monochromatic
#213883 #2E4DB4 #4D6CD2 #7E94DE #AFBDEB

Accessibility & contrast

On white

4.78
#4D6CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#4D6CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6CD2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6CD2#FFFFFF#000000##FFFFFF
##4D6CD21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3679D6
Deuteranopia (green-blind)
#186DD0
Tritanopia (blue-blind)
#008495
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4d6cd2;
/* rgb */ color: rgb(77, 108, 210);
/* oklch */ color: oklch(56.1% 0.161 268.2);
Tailwind
colors: {
  custom: {
    50: '#8b95e0',
    500: '#4d6cd2',
    950: '#000000',
  },
}
SCSS
$custom: #4d6cd2;
$custom-light: #8b95e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6cd2",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 226.015,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56107,
    "c": 0.16075,
    "h": 268.2
  },
  "luminance": 0.16956
}

Semantic roles & 50–950 ramp

primary
#4D6CD2
secondary
#D9CCA2
accent
#BE45E3
background
#F9F9FD
surface
#F1F1FB
border
#CBCBD4
text
#0D0D15
muted
#7E7E83

Preview Lab

Preview with #4D6CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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