#4E7BE7#4E7BE7

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

Color values

HEX#4E7BE7
RGBrgb(78, 123, 231)
HSLhsl(222, 76%, 61%)
HSVhsv(222, 66%, 91%)
CMYKcmyk(66.2%, 46.8%, 0%, 9.4%)
CIE-LABlab(53.55, 19.05, -59.38)
CIE-LCHlch(53.55, 62.36, 287.78°)
OKLaboklab(60.62% -0.0155 -0.17)
OKLCHoklch(60.62% 0.171 264.8)
XYZxyz(24.6436, 21.5528, 78.4472)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BE7 #E7BA4E
analogous
#4EC7E7 #4E7BE7 #6D4EE7
triadic
#4E7BE7 #E74E7B #7BE74E
tetradic
#4E7BE7 #E74EC7 #E7BA4E #4EE76D
square
#4E7BE7 #E74EC7 #E7BA4E #4EE76D
split-complementary
#4E7BE7 #E76D4E #C7E74E
monochromatic
#1640A4 #1E55DA #4E7BE7 #84A3EE #BACBF6

Accessibility & contrast

On white

3.95
#4E7BE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4E7BE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BE7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BE7#FFFFFF#000000##000000
##4E7BE71.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7be7;
/* rgb */ color: rgb(78, 123, 231);
/* oklch */ color: oklch(60.6% 0.171 264.8);
Tailwind
colors: {
  custom: {
    50: '#8fa0ef',
    500: '#4e7be7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7be7;
$custom-light: #8fa0ef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7be7",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 231
  },
  "hsl": {
    "h": 222.353,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.17075,
    "h": 264.8
  },
  "luminance": 0.21555
}

Semantic roles & 50–950 ramp

primary
#4E7BE7
secondary
#E5D4AB
accent
#9D0DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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