#4D7CCE#4D7CCE

#4D7CCE is a mid, vivid blue. Relative luminance 0.204; OKLCH L 59.2% C 0.136 H 260.8°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#4D7CCE
RGBrgb(77, 124, 206)
HSLhsl(218, 57%, 55%)
HSVhsv(218, 63%, 81%)
CMYKcmyk(62.6%, 39.8%, 0%, 19.2%)
CIE-LABlab(52.34, 9.64, -47.23)
CIE-LCHlch(52.34, 48.20, 281.53°)
OKLaboklab(59.21% -0.0218 -0.1343)
OKLCHoklch(59.21% 0.136 260.8)
XYZxyz(21.4049, 20.4473, 61.1993)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CCE #CE9F4D
analogous
#4DBCCE #4D7CCE #5F4DCE
triadic
#4D7CCE #CE4D7C #7CCE4D
tetradic
#4D7CCE #CE4DBC #CE9F4D #4DCE5F
square
#4D7CCE #CE4DBC #CE9F4D #4DCE5F
split-complementary
#4D7CCE #CE5F4D #BCCE4D
monochromatic
#23447E #305EAE #4D7CCE #7D9FDB #ADC3E8

Accessibility & contrast

On white

4.13
#4D7CCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#4D7CCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CCE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CCE#FFFFFF#000000##000000
##4D7CCE1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5883D1
Deuteranopia (green-blind)
#4577CC
Tritanopia (blue-blind)
#008F9B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7cce;
/* rgb */ color: rgb(77, 124, 206);
/* oklch */ color: oklch(59.2% 0.136 260.8);
Tailwind
colors: {
  custom: {
    50: '#8aa1dd',
    500: '#4d7cce',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cce;
$custom-light: #8aa1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cce",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 206
  },
  "hsl": {
    "h": 218.14,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.59208,
    "c": 0.13611,
    "h": 260.8
  },
  "luminance": 0.20449
}

Semantic roles & 50–950 ramp

primary
#4D7CCE
secondary
#D6C3A1
accent
#A948E0
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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