#4E7FE5#4E7FE5

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

Color values

HEX#4E7FE5
RGBrgb(78, 127, 229)
HSLhsl(221, 74%, 60%)
HSVhsv(221, 66%, 90%)
CMYKcmyk(65.9%, 44.5%, 0%, 10.2%)
CIE-LABlab(54.50, 15.90, -56.73)
CIE-LCHlch(54.50, 58.92, 285.66°)
OKLaboklab(61.31% -0.0195 -0.1622)
OKLCHoklch(61.31% 0.163 263.1)
XYZxyz(24.8691, 22.4532, 77.1368)
Luminance0.2246 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FE5 #E5B44E
analogous
#4ECAE5 #4E7FE5 #694EE5
triadic
#4E7FE5 #E54E7F #7FE54E
tetradic
#4E7FE5 #E54ECA #E5B44E #4EE569
square
#4E7FE5 #E54ECA #E5B44E #4EE569
split-complementary
#4E7FE5 #E5694E #CAE54E
monochromatic
#1844A1 #1F5BD6 #4E7FE5 #83A6ED #B9CCF5

Accessibility & contrast

On white

3.82
#4E7FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4E7FE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FE5
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FE5#FFFFFF#000000##000000
##4E7FE51.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7fe5;
/* rgb */ color: rgb(78, 127, 229);
/* oklch */ color: oklch(61.3% 0.163 263.1);
Tailwind
colors: {
  custom: {
    50: '#8ea3ee',
    500: '#4e7fe5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fe5;
$custom-light: #8ea3ee;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fe5",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 229
  },
  "hsl": {
    "h": 220.53,
    "s": 74.384,
    "l": 60.196
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.16336,
    "h": 263.1
  },
  "luminance": 0.22456
}

Semantic roles & 50–950 ramp

primary
#4E7FE5
secondary
#E4D2AA
accent
#960FD7
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0E0F16
muted
#7E7F84

Preview Lab

Preview with #4E7FE5

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

Preview Lab → · Contrast checker → · Palette generator →

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