#4D7DE8#4D7DE8

#4D7DE8 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 61.0% C 0.170 H 263.9°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4D7DE8
RGBrgb(77, 125, 232)
HSLhsl(221, 77%, 61%)
HSVhsv(221, 67%, 91%)
CMYKcmyk(66.8%, 46.1%, 0%, 9%)
CIE-LABlab(54.10, 18.01, -59.06)
CIE-LCHlch(54.10, 61.75, 286.96°)
OKLaboklab(61.05% -0.0181 -0.1691)
OKLCHoklch(61.05% 0.17 263.9)
XYZxyz(24.9546, 22.0688, 79.2729)
Luminance0.2207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DE8 #E8B84D
analogous
#4DCBE8 #4D7DE8 #6A4DE8
triadic
#4D7DE8 #E84D7D #7DE84D
tetradic
#4D7DE8 #E84DCB #E8B84D #4DE86A
square
#4D7DE8 #E84DCB #E8B84D #4DE86A
split-complementary
#4D7DE8 #E86A4D #CBE84D
monochromatic
#1542A5 #1C58DB #4D7DE8 #83A5EF #B9CCF6

Accessibility & contrast

On white

3.88
#4D7DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4D7DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DE8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DE8#FFFFFF#000000##000000
##4D7DE81.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4689EC
Deuteranopia (green-blind)
#267BE6
Tritanopia (blue-blind)
#0096A7
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7de8;
/* rgb */ color: rgb(77, 125, 232);
/* oklch */ color: oklch(61.0% 0.170 263.9);
Tailwind
colors: {
  custom: {
    50: '#8fa2f0',
    500: '#4d7de8',
    950: '#000000',
  },
}
SCSS
$custom: #4d7de8;
$custom-light: #8fa2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7de8",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 232
  },
  "hsl": {
    "h": 221.419,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61045,
    "c": 0.17004,
    "h": 263.9
  },
  "luminance": 0.22071
}

Semantic roles & 50–950 ramp

primary
#4D7DE8
secondary
#E6D4AB
accent
#9A0CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4D7DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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