#4D7FE5#4D7FE5

#4D7FE5 is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.3% C 0.164 H 262.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4D7FE5
RGBrgb(77, 127, 229)
HSLhsl(220, 75%, 60%)
HSVhsv(220, 66%, 90%)
CMYKcmyk(66.4%, 44.5%, 0%, 10.2%)
CIE-LABlab(54.46, 15.74, -56.80)
CIE-LCHlch(54.46, 58.95, 285.49°)
OKLaboklab(61.27% -0.0204 -0.1624)
OKLCHoklch(61.27% 0.164 262.9)
XYZxyz(24.7878, 22.4112, 77.1330)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FE5 #E5B34D
analogous
#4DCBE5 #4D7FE5 #674DE5
triadic
#4D7FE5 #E54D7F #7FE54D
tetradic
#4D7FE5 #E54DCB #E5B34D #4DE567
square
#4D7FE5 #E54DCB #E5B34D #4DE567
split-complementary
#4D7FE5 #E5674D #CBE54D
monochromatic
#1744A0 #1F5BD6 #4D7FE5 #82A5ED #B8CCF5

Accessibility & contrast

On white

3.83
#4D7FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4D7FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FE5
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FE5#FFFFFF#000000##000000
##4D7FE51.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8AE9
Deuteranopia (green-blind)
#317CE3
Tritanopia (blue-blind)
#0097A7
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4d7fe5;
/* rgb */ color: rgb(77, 127, 229);
/* oklch */ color: oklch(61.3% 0.164 262.9);
Tailwind
colors: {
  custom: {
    50: '#8ea3ee',
    500: '#4d7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fe5;
$custom-light: #8ea3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fe5",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 220.263,
    "s": 74.51,
    "l": 60
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.16369,
    "h": 262.9
  },
  "luminance": 0.22414
}

Semantic roles & 50–950 ramp

primary
#4D7FE5
secondary
#E4D1AA
accent
#B437F1
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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