#4D7EE8#4D7EE8

#4D7EE8 is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.3% C 0.169 H 263.6°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4D7EE8
RGBrgb(77, 126, 232)
HSLhsl(221, 77%, 61%)
HSVhsv(221, 67%, 91%)
CMYKcmyk(66.8%, 45.7%, 0%, 9%)
CIE-LABlab(54.37, 17.40, -58.63)
CIE-LCHlch(54.37, 61.16, 286.53°)
OKLaboklab(61.25% -0.019 -0.1678)
OKLCHoklch(61.25% 0.169 263.6)
XYZxyz(25.0818, 22.3232, 79.3153)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7EE8 #E8B74D
analogous
#4DCCE8 #4D7EE8 #694DE8
triadic
#4D7EE8 #E84D7E #7EE84D
tetradic
#4D7EE8 #E84DCC #E8B74D #4DE869
square
#4D7EE8 #E84DCC #E8B74D #4DE869
split-complementary
#4D7EE8 #E8694D #CCE84D
monochromatic
#1543A5 #1C59DB #4D7EE8 #83A5EF #B9CDF6

Accessibility & contrast

On white

3.84
#4D7EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4D7EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7EE8
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7EE8#FFFFFF#000000##000000
##4D7EE81.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#488AEC
Deuteranopia (green-blind)
#2A7BE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d7ee8;
/* rgb */ color: rgb(77, 126, 232);
/* oklch */ color: oklch(61.3% 0.169 263.6);
Tailwind
colors: {
  custom: {
    50: '#8fa2f0',
    500: '#4d7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ee8;
$custom-light: #8fa2f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ee8",
  "rgb": {
    "r": 77,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 221.032,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.16887,
    "h": 263.6
  },
  "luminance": 0.22326
}

Semantic roles & 50–950 ramp

primary
#4D7EE8
secondary
#E6D3AB
accent
#980CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4D7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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