#4E7BEB#4E7BEB

#4E7BEB is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.9% C 0.176 H 265.1°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4E7BEB
RGBrgb(78, 123, 235)
HSLhsl(223, 80%, 61%)
HSVhsv(223, 67%, 92%)
CMYKcmyk(66.8%, 47.7%, 0%, 7.8%)
CIE-LABlab(53.79, 20.44, -61.22)
CIE-LCHlch(53.79, 64.55, 288.46°)
OKLaboklab(60.88% -0.015 -0.1755)
OKLCHoklch(60.88% 0.176 265.1)
XYZxyz(25.2150, 21.7813, 81.4565)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BEB #EBBE4E
analogous
#4EC9EB #4E7BEB #704EEB
triadic
#4E7BEB #EB4E7B #7BEB4E
tetradic
#4E7BEB #EB4EC9 #EBBE4E #4EEB70
square
#4E7BEB #EB4EC9 #EBBE4E #4EEB70
split-complementary
#4E7BEB #EB704E #C9EB4E
monochromatic
#133FAB #1A53E2 #4E7BEB #85A4F1 #BCCDF7

Accessibility & contrast

On white

3.92
#4E7BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4E7BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BEB
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BEB#FFFFFF#000000##000000
##4E7BEB1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F88EF
Deuteranopia (green-blind)
#187AE9
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e7beb;
/* rgb */ color: rgb(78, 123, 235);
/* oklch */ color: oklch(60.9% 0.176 265.1);
Tailwind
colors: {
  custom: {
    50: '#90a0f2',
    500: '#4e7beb',
    950: '#000000',
  },
}
SCSS
$custom: #4e7beb;
$custom-light: #90a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7beb",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 222.803,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60882,
    "c": 0.1761,
    "h": 265.1
  },
  "luminance": 0.21784
}

Semantic roles & 50–950 ramp

primary
#4E7BEB
secondary
#E8D7AD
accent
#A009DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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