#4D6ED6#4D6ED6

#4D6ED6 is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.8% C 0.164 H 267.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#4D6ED6
RGBrgb(77, 110, 214)
HSLhsl(226, 63%, 57%)
HSVhsv(226, 64%, 84%)
CMYKcmyk(64%, 48.6%, 0%, 16.1%)
CIE-LABlab(48.99, 21.05, -57.13)
CIE-LCHlch(48.99, 60.89, 290.23°)
OKLaboklab(56.78% -0.0066 -0.1636)
OKLCHoklch(56.78% 0.164 267.7)
XYZxyz(20.7699, 17.5828, 65.9046)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6ED6 #D6B54D
analogous
#4DB3D6 #4D6ED6 #704DD6
triadic
#4D6ED6 #D64D6E #6ED64D
tetradic
#4D6ED6 #D64DB3 #D6B54D #4DD670
square
#4D6ED6 #D64DB3 #D6B54D #4DD670
split-complementary
#4D6ED6 #D6704D #B3D64D
monochromatic
#203989 #2B4EBB #4D6ED6 #7F97E1 #B0BFED

Accessibility & contrast

On white

4.65
#4D6ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#4D6ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6ED6
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6ED6#FFFFFF#000000##FFFFFF
##4D6ED61.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#377BDA
Deuteranopia (green-blind)
#166FD4
Tritanopia (blue-blind)
#008698
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d6ed6;
/* rgb */ color: rgb(77, 110, 214);
/* oklch */ color: oklch(56.8% 0.164 267.7);
Tailwind
colors: {
  custom: {
    50: '#8c97e3',
    500: '#4d6ed6',
    950: '#000000',
  },
}
SCSS
$custom: #4d6ed6;
$custom-light: #8c97e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6ed6",
  "rgb": {
    "r": 77,
    "g": 110,
    "b": 214
  },
  "hsl": {
    "h": 225.547,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56784,
    "c": 0.16376,
    "h": 267.7
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#4D6ED6
secondary
#DBCEA4
accent
#BE42E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D15
muted
#7E7E84

Preview Lab

Preview with #4D6ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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