#4D7FE8#4D7FE8

#4D7FE8 is a mid, vivid blue. Relative luminance 0.226; OKLCH L 61.5% C 0.168 H 263.2°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4D7FE8
RGBrgb(77, 127, 232)
HSLhsl(221, 77%, 61%)
HSVhsv(221, 67%, 91%)
CMYKcmyk(66.8%, 45.3%, 0%, 9%)
CIE-LABlab(54.64, 16.78, -58.20)
CIE-LCHlch(54.64, 60.57, 286.09°)
OKLaboklab(61.46% -0.0199 -0.1665)
OKLCHoklch(61.46% 0.168 263.2)
XYZxyz(25.2103, 22.5802, 79.3581)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FE8 #E8B64D
analogous
#4DCCE8 #4D7FE8 #684DE8
triadic
#4D7FE8 #E84D7F #7FE84D
tetradic
#4D7FE8 #E84DCC #E8B64D #4DE868
square
#4D7FE8 #E84DCC #E8B64D #4DE868
split-complementary
#4D7FE8 #E8684D #CCE84D
monochromatic
#1544A5 #1C5ADB #4D7FE8 #83A6EF #B9CDF6

Accessibility & contrast

On white

3.81
#4D7FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4D7FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FE8
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FE8#FFFFFF#000000##000000
##4D7FE81.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A8AEC
Deuteranopia (green-blind)
#2D7CE6
Tritanopia (blue-blind)
#0097A8
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d7fe8;
/* rgb */ color: rgb(77, 127, 232);
/* oklch */ color: oklch(61.5% 0.168 263.2);
Tailwind
colors: {
  custom: {
    50: '#8fa3f0',
    500: '#4d7fe8',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fe8;
$custom-light: #8fa3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fe8",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 232
  },
  "hsl": {
    "h": 220.645,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.1677,
    "h": 263.2
  },
  "luminance": 0.22583
}

Semantic roles & 50–950 ramp

primary
#4D7FE8
secondary
#E6D3AB
accent
#970CD9
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F17
muted
#7E7F85

Preview Lab

Preview with #4D7FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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