#4D6CDE#4D6CDE

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

Color values

HEX#4D6CDE
RGBrgb(77, 108, 222)
HSLhsl(227, 69%, 59%)
HSVhsv(227, 65%, 87%)
CMYKcmyk(65.3%, 51.4%, 0%, 12.9%)
CIE-LABlab(48.98, 25.07, -61.69)
CIE-LCHlch(48.98, 66.59, 292.12°)
OKLaboklab(56.94% -0.0039 -0.1771)
OKLCHoklch(56.94% 0.177 268.7)
XYZxyz(21.6034, 17.5748, 71.3469)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6CDE #DEBF4D
analogous
#4DB5DE #4D6CDE #764DDE
triadic
#4D6CDE #DE4D6C #6CDE4D
tetradic
#4D6CDE #DE4DB5 #DEBF4D #4DDE76
square
#4D6CDE #DE4DB5 #DEBF4D #4DDE76
split-complementary
#4D6CDE #DE764D #B5DE4D
monochromatic
#1C3695 #2548C9 #4D6CDE #8197E8 #B4C1F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D6CDE#FFFFFF#000000##FFFFFF
##4D6CDE1.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)
#267BE2
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4d6cde;
/* rgb */ color: rgb(77, 108, 222);
/* oklch */ color: oklch(56.9% 0.177 268.7);
Tailwind
colors: {
  custom: {
    50: '#8e95e9',
    500: '#4d6cde',
    950: '#000000',
  },
}
SCSS
$custom: #4d6cde;
$custom-light: #8e95e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6cde",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 222
  },
  "hsl": {
    "h": 227.172,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.17709,
    "h": 268.7
  },
  "luminance": 0.17577
}

Semantic roles & 50–950 ramp

primary
#4D6CDE
secondary
#E0D4A7
accent
#C63CEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4D6CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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