#4E7BE2#4E7BE2

#4E7BE2 is a mid, vivid blue. Relative luminance 0.213; OKLCH L 60.3% C 0.164 H 264.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#4E7BE2
RGBrgb(78, 123, 226)
HSLhsl(222, 72%, 60%)
HSVhsv(222, 65%, 89%)
CMYKcmyk(65.5%, 45.6%, 0%, 11.4%)
CIE-LABlab(53.25, 17.31, -57.06)
CIE-LCHlch(53.25, 59.63, 286.88°)
OKLaboklab(60.29% -0.0163 -0.1632)
OKLCHoklch(60.29% 0.164 264.3)
XYZxyz(23.9475, 21.2743, 74.7811)
Luminance0.2128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BE2 #E2B54E
analogous
#4EC5E2 #4E7BE2 #6B4EE2
triadic
#4E7BE2 #E24E7B #7BE24E
tetradic
#4E7BE2 #E24EC5 #E2B54E #4EE26B
square
#4E7BE2 #E24EC5 #E2B54E #4EE26B
split-complementary
#4E7BE2 #E26B4E #C5E24E
monochromatic
#1A419C #2257D1 #4E7BE2 #83A2EB #B7C9F3

Accessibility & contrast

On white

4.00
#4E7BE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#4E7BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BE2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BE2#FFFFFF#000000##000000
##4E7BE21.004.005.265.26
#FFFFFF4.001.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4886E6
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7be2;
/* rgb */ color: rgb(78, 123, 226);
/* oklch */ color: oklch(60.3% 0.164 264.3);
Tailwind
colors: {
  custom: {
    50: '#8ea0ec',
    500: '#4e7be2',
    950: '#000000',
  },
}
SCSS
$custom: #4e7be2;
$custom-light: #8ea0ec;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7be2",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 226
  },
  "hsl": {
    "h": 221.757,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60289,
    "c": 0.16403,
    "h": 264.3
  },
  "luminance": 0.21277
}

Semantic roles & 50–950 ramp

primary
#4E7BE2
secondary
#E3D1A9
accent
#B739EF
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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