#4E7BE1#4E7BE1

#4E7BE1 is a mid, vivid blue. Relative luminance 0.212; OKLCH L 60.2% C 0.163 H 264.2°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#4E7BE1
RGBrgb(78, 123, 225)
HSLhsl(222, 71%, 59%)
HSVhsv(222, 65%, 88%)
CMYKcmyk(65.3%, 45.3%, 0%, 11.8%)
CIE-LABlab(53.19, 16.97, -56.60)
CIE-LCHlch(53.19, 59.09, 286.69°)
OKLaboklab(60.22% -0.0164 -0.1618)
OKLCHoklch(60.22% 0.163 264.2)
XYZxyz(23.8107, 21.2196, 74.0605)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BE1 #E1B44E
analogous
#4EC4E1 #4E7BE1 #6B4EE1
triadic
#4E7BE1 #E14E7B #7BE14E
tetradic
#4E7BE1 #E14EC4 #E1B44E #4EE16B
square
#4E7BE1 #E14EC4 #E1B44E #4EE16B
split-complementary
#4E7BE1 #E16B4E #C4E14E
monochromatic
#1A419A #2358CF #4E7BE1 #82A2EA #B7C9F3

Accessibility & contrast

On white

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

On black

5.24
#4E7BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BE1
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BE1#FFFFFF#000000##000000
##4E7BE11.004.005.245.24
#FFFFFF4.001.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4986E5
Deuteranopia (green-blind)
#2E79DF
Tritanopia (blue-blind)
#0092A3
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7be1;
/* rgb */ color: rgb(78, 123, 225);
/* oklch */ color: oklch(60.2% 0.163 264.2);
Tailwind
colors: {
  custom: {
    50: '#8ea0eb',
    500: '#4e7be1',
    950: '#000000',
  },
}
SCSS
$custom: #4e7be1;
$custom-light: #8ea0eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7be1",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 225
  },
  "hsl": {
    "h": 221.633,
    "s": 71.014,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.16268,
    "h": 264.2
  },
  "luminance": 0.21222
}

Semantic roles & 50–950 ramp

primary
#4E7BE1
secondary
#E2D1A9
accent
#B73AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4E7BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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