#4D7DCE#4D7DCE

#4D7DCE is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.4% C 0.135 H 260.3°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#4D7DCE
RGBrgb(77, 125, 206)
HSLhsl(218, 57%, 55%)
HSVhsv(218, 63%, 81%)
CMYKcmyk(62.6%, 39.3%, 0%, 19.2%)
CIE-LABlab(52.62, 9.03, -46.78)
CIE-LCHlch(52.62, 47.65, 280.92°)
OKLaboklab(59.43% -0.0228 -0.133)
OKLCHoklch(59.43% 0.135 260.3)
XYZxyz(21.5308, 20.6993, 61.2413)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DCE #CE9E4D
analogous
#4DBECE #4D7DCE #5D4DCE
triadic
#4D7DCE #CE4D7D #7DCE4D
tetradic
#4D7DCE #CE4DBE #CE9E4D #4DCE5D
square
#4D7DCE #CE4DBE #CE9E4D #4DCE5D
split-complementary
#4D7DCE #CE5D4D #BECE4D
monochromatic
#23457E #305FAE #4D7DCE #7DA0DB #ADC3E8

Accessibility & contrast

On white

4.09
#4D7DCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#4D7DCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DCE
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DCE#FFFFFF#000000##000000
##4D7DCE1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D1
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7dce;
/* rgb */ color: rgb(77, 125, 206);
/* oklch */ color: oklch(59.4% 0.135 260.3);
Tailwind
colors: {
  custom: {
    50: '#8aa2dd',
    500: '#4d7dce',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dce;
$custom-light: #8aa2dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dce",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 206
  },
  "hsl": {
    "h": 217.674,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59425,
    "c": 0.13497,
    "h": 260.3
  },
  "luminance": 0.20701
}

Semantic roles & 50–950 ramp

primary
#4D7DCE
secondary
#D6C2A1
accent
#A748E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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