#4D7BE7#4D7BE7

#4D7BE7 is a mid, vivid blue. Relative luminance 0.215; OKLCH L 60.6% C 0.171 H 264.5°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#4D7BE7
RGBrgb(77, 123, 231)
HSLhsl(222, 76%, 60%)
HSVhsv(222, 67%, 91%)
CMYKcmyk(66.7%, 46.8%, 0%, 9.4%)
CIE-LABlab(53.50, 18.89, -59.46)
CIE-LCHlch(53.50, 62.39, 287.63°)
OKLaboklab(60.57% -0.0164 -0.1703)
OKLCHoklch(60.57% 0.171 264.5)
XYZxyz(24.5623, 21.5108, 78.4434)
Luminance0.2151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BE7 #E7B94D
analogous
#4DC8E7 #4D7BE7 #6C4DE7
triadic
#4D7BE7 #E74D7B #7BE74D
tetradic
#4D7BE7 #E74DC8 #E7B94D #4DE76C
square
#4D7BE7 #E74DC8 #E7B94D #4DE76C
split-complementary
#4D7BE7 #E76C4D #C8E74D
monochromatic
#1640A4 #1D56D9 #4D7BE7 #83A3EE #B9CBF6

Accessibility & contrast

On white

3.96
#4D7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#4D7BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BE7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BE7#FFFFFF#000000##000000
##4D7BE71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4387EB
Deuteranopia (green-blind)
#2179E5
Tritanopia (blue-blind)
#0094A6
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d7be7;
/* rgb */ color: rgb(77, 123, 231);
/* oklch */ color: oklch(60.6% 0.171 264.5);
Tailwind
colors: {
  custom: {
    50: '#8ea0ef',
    500: '#4d7be7',
    950: '#000000',
  },
}
SCSS
$custom: #4d7be7;
$custom-light: #8ea0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7be7",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 222.078,
    "s": 76.238,
    "l": 60.392
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.17107,
    "h": 264.5
  },
  "luminance": 0.21513
}

Semantic roles & 50–950 ramp

primary
#4D7BE7
secondary
#E5D4AA
accent
#9C0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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