#4E7CEB#4E7CEB

#4E7CEB is a mid, vivid blue. Relative luminance 0.220; OKLCH L 61.1% C 0.175 H 264.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4E7CEB
RGBrgb(78, 124, 235)
HSLhsl(222, 80%, 61%)
HSVhsv(222, 67%, 92%)
CMYKcmyk(66.8%, 47.2%, 0%, 7.8%)
CIE-LABlab(54.06, 19.82, -60.80)
CIE-LCHlch(54.06, 63.95, 288.06°)
OKLaboklab(61.09% -0.0159 -0.1742)
OKLCHoklch(61.09% 0.175 264.8)
XYZxyz(25.3397, 22.0307, 81.4981)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CEB #EBBD4E
analogous
#4ECBEB #4E7CEB #6F4EEB
triadic
#4E7CEB #EB4E7C #7CEB4E
tetradic
#4E7CEB #EB4ECB #EBBD4E #4EEB6F
square
#4E7CEB #EB4ECB #EBBD4E #4EEB6F
split-complementary
#4E7CEB #EB6F4E #CBEB4E
monochromatic
#1340AB #1A54E2 #4E7CEB #85A5F1 #BCCDF7

Accessibility & contrast

On white

3.88
#4E7CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4E7CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CEB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CEB#FFFFFF#000000##000000
##4E7CEB1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4189EF
Deuteranopia (green-blind)
#1D7AE9
Tritanopia (blue-blind)
#0096A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7ceb;
/* rgb */ color: rgb(78, 124, 235);
/* oklch */ color: oklch(61.1% 0.175 264.8);
Tailwind
colors: {
  custom: {
    50: '#90a1f2',
    500: '#4e7ceb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ceb;
$custom-light: #90a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ceb",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 235
  },
  "hsl": {
    "h": 222.42,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.17491,
    "h": 264.8
  },
  "luminance": 0.22033
}

Semantic roles & 50–950 ramp

primary
#4E7CEB
secondary
#E8D7AD
accent
#9E09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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