#4E7DEB#4E7DEB

#4E7DEB is a mid, vivid blue. Relative luminance 0.223; OKLCH L 61.3% C 0.174 H 264.5°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#4E7DEB
RGBrgb(78, 125, 235)
HSLhsl(222, 80%, 61%)
HSVhsv(222, 67%, 92%)
CMYKcmyk(66.8%, 46.8%, 0%, 7.8%)
CIE-LABlab(54.33, 19.21, -60.37)
CIE-LCHlch(54.33, 63.35, 287.65°)
OKLaboklab(61.29% -0.0168 -0.1729)
OKLCHoklch(61.29% 0.174 264.5)
XYZxyz(25.4656, 22.2826, 81.5401)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DEB #EBBC4E
analogous
#4ECCEB #4E7DEB #6E4EEB
triadic
#4E7DEB #EB4E7D #7DEB4E
tetradic
#4E7DEB #EB4ECC #EBBC4E #4EEB6E
square
#4E7DEB #EB4ECC #EBBC4E #4EEB6E
split-complementary
#4E7DEB #EB6E4E #CCEB4E
monochromatic
#1341AB #1A56E2 #4E7DEB #85A5F1 #BCCEF7

Accessibility & contrast

On white

3.85
#4E7DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#4E7DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DEB
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DEB#FFFFFF#000000##000000
##4E7DEB1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#448AEF
Deuteranopia (green-blind)
#217BE9
Tritanopia (blue-blind)
#0097A9
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e7deb;
/* rgb */ color: rgb(78, 125, 235);
/* oklch */ color: oklch(61.3% 0.174 264.5);
Tailwind
colors: {
  custom: {
    50: '#90a2f2',
    500: '#4e7deb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7deb;
$custom-light: #90a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7deb",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 235
  },
  "hsl": {
    "h": 222.038,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61289,
    "c": 0.17373,
    "h": 264.5
  },
  "luminance": 0.22285
}

Semantic roles & 50–950 ramp

primary
#4E7DEB
secondary
#E8D6AD
accent
#9D09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0F17
muted
#7E7E85

Preview Lab

Preview with #4E7DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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