#4D7FE7#4D7FE7

#4D7FE7 is a mid, vivid blue. Relative luminance 0.225; OKLCH L 61.4% C 0.166 H 263.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4D7FE7
RGBrgb(77, 127, 231)
HSLhsl(221, 76%, 60%)
HSVhsv(221, 67%, 91%)
CMYKcmyk(66.7%, 45%, 0%, 9.4%)
CIE-LABlab(54.58, 16.44, -57.73)
CIE-LCHlch(54.58, 60.03, 285.89°)
OKLaboklab(61.39% -0.02 -0.1651)
OKLCHoklch(61.39% 0.166 263.1)
XYZxyz(25.0687, 22.5236, 78.6122)
Luminance0.2253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FE7 #E7B54D
analogous
#4DCCE7 #4D7FE7 #684DE7
triadic
#4D7FE7 #E74D7F #7FE74D
tetradic
#4D7FE7 #E74DCC #E7B54D #4DE768
square
#4D7FE7 #E74DCC #E7B54D #4DE768
split-complementary
#4D7FE7 #E7684D #CCE74D
monochromatic
#1644A4 #1D5AD9 #4D7FE7 #83A6EE #B9CDF6

Accessibility & contrast

On white

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

On black

5.51
#4D7FE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FE7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FE7#FFFFFF#000000##000000
##4D7FE71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d7fe7;
/* rgb */ color: rgb(77, 127, 231);
/* oklch */ color: oklch(61.4% 0.166 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ea3ef',
    500: '#4d7fe7',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fe7;
$custom-light: #8ea3ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fe7",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 220.519,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.16636,
    "h": 263.1
  },
  "luminance": 0.22526
}

Semantic roles & 50–950 ramp

primary
#4D7FE7
secondary
#E5D2AA
accent
#960DD8
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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