#4D6CDF#4D6CDF

#4D6CDF is a mid, vivid blue. Relative luminance 0.176; OKLCH L 57.0% C 0.178 H 268.8°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4D6CDF
RGBrgb(77, 108, 223)
HSLhsl(227, 70%, 59%)
HSVhsv(227, 65%, 87%)
CMYKcmyk(65.5%, 51.6%, 0%, 12.5%)
CIE-LABlab(49.04, 25.42, -62.14)
CIE-LCHlch(49.04, 67.14, 292.24°)
OKLaboklab(57.01% -0.0038 -0.1784)
OKLCHoklch(57.01% 0.178 268.8)
XYZxyz(21.7379, 17.6286, 72.0548)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D6CDF #DFC04D
analogous
#4DB5DF #4D6CDF #774DDF
triadic
#4D6CDF #DF4D6C #6CDF4D
tetradic
#4D6CDF #DF4DB5 #DFC04D #4DDF77
square
#4D6CDF #DF4DB5 #DFC04D #4DDF77
split-complementary
#4D6CDF #DF774D #B5DF4D
monochromatic
#1B3597 #2448CA #4D6CDF #8197E8 #B5C2F2

Accessibility & contrast

On white

4.64
#4D6CDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4D6CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4D6CDF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D6CDF#FFFFFF#000000##FFFFFF
##4D6CDF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#247BE3
Deuteranopia (green-blind)
#006EDD
Tritanopia (blue-blind)
#00879B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4d6cdf;
/* rgb */ color: rgb(77, 108, 223);
/* oklch */ color: oklch(57.0% 0.178 268.8);
Tailwind
colors: {
  custom: {
    50: '#8e95ea',
    500: '#4d6cdf',
    950: '#000000',
  },
}
SCSS
$custom: #4d6cdf;
$custom-light: #8e95ea;
$custom-dark: #000000;
JSON
{
  "hex": "#4d6cdf",
  "rgb": {
    "r": 77,
    "g": 108,
    "b": 223
  },
  "hsl": {
    "h": 227.26,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57013,
    "c": 0.17844,
    "h": 268.8
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#4D6CDF
secondary
#E1D4A7
accent
#C73BEC
background
#F9F9FE
surface
#F2F1FD
border
#CCCBD5
text
#0E0D16
muted
#7E7E84

Preview Lab

Preview with #4D6CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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