#4E74E7#4E74E7

#4E74E7 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.179 H 267.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4E74E7
RGBrgb(78, 116, 231)
HSLhsl(225, 76%, 61%)
HSVhsv(225, 66%, 91%)
CMYKcmyk(66.2%, 49.8%, 0%, 9.4%)
CIE-LABlab(51.70, 23.37, -62.36)
CIE-LCHlch(51.70, 66.60, 290.55°)
OKLaboklab(59.21% -0.0092 -0.1789)
OKLCHoklch(59.21% 0.179 267)
XYZxyz(23.8061, 19.8777, 78.1680)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E74E7 #E7C14E
analogous
#4EC0E7 #4E74E7 #744EE7
triadic
#4E74E7 #E74E74 #74E74E
tetradic
#4E74E7 #E74EC0 #E7C14E #4EE774
square
#4E74E7 #E74EC0 #E7C14E #4EE774
split-complementary
#4E74E7 #E7744E #C0E74E
monochromatic
#163AA4 #1E4CDA #4E74E7 #849EEE #BAC9F6

Accessibility & contrast

On white

4.22
#4E74E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4E74E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E74E7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E74E7#FFFFFF#000000##000000
##4E74E71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3283EB
Deuteranopia (green-blind)
#0075E5
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e74e7;
/* rgb */ color: rgb(78, 116, 231);
/* oklch */ color: oklch(59.2% 0.179 267.0);
Tailwind
colors: {
  custom: {
    50: '#8f9bef',
    500: '#4e74e7',
    950: '#000000',
  },
}
SCSS
$custom: #4e74e7;
$custom-light: #8f9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#4e74e7",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 231
  },
  "hsl": {
    "h": 225.098,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.17914,
    "h": 267
  },
  "luminance": 0.1988
}

Semantic roles & 50–950 ramp

primary
#4E74E7
secondary
#E5D7AB
accent
#A60DD8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E74E7

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

Preview Lab → · Contrast checker → · Palette generator →

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