#4E7BE9#4E7BE9

#4E7BE9 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.7% C 0.173 H 264.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4E7BE9
RGBrgb(78, 123, 233)
HSLhsl(223, 78%, 61%)
HSVhsv(223, 67%, 91%)
CMYKcmyk(66.5%, 47.2%, 0%, 8.6%)
CIE-LABlab(53.67, 19.74, -60.31)
CIE-LCHlch(53.67, 63.45, 288.13°)
OKLaboklab(60.75% -0.0153 -0.1728)
OKLCHoklch(60.75% 0.173 264.9)
XYZxyz(24.9277, 21.6664, 79.9433)
Luminance0.2167 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BE9 #E9BC4E
analogous
#4EC8E9 #4E7BE9 #6E4EE9
triadic
#4E7BE9 #E94E7B #7BE94E
tetradic
#4E7BE9 #E94EC8 #E9BC4E #4EE96E
square
#4E7BE9 #E94EC8 #E9BC4E #4EE96E
split-complementary
#4E7BE9 #E96E4E #C8E94E
monochromatic
#153FA8 #1C54DE #4E7BE9 #84A4F0 #BBCCF7

Accessibility & contrast

On white

3.94
#4E7BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4E7BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BE9
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BE9#FFFFFF#000000##000000
##4E7BE91.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4188ED
Deuteranopia (green-blind)
#1E7AE7
Tritanopia (blue-blind)
#0095A7
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7be9;
/* rgb */ color: rgb(78, 123, 233);
/* oklch */ color: oklch(60.7% 0.173 264.9);
Tailwind
colors: {
  custom: {
    50: '#8fa0f1',
    500: '#4e7be9',
    950: '#000000',
  },
}
SCSS
$custom: #4e7be9;
$custom-light: #8fa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7be9",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 233
  },
  "hsl": {
    "h": 222.581,
    "s": 77.889,
    "l": 60.98
  },
  "oklch": {
    "l": 0.60749,
    "c": 0.17343,
    "h": 264.9
  },
  "luminance": 0.21669
}

Semantic roles & 50–950 ramp

primary
#4E7BE9
secondary
#E7D6AC
accent
#9E0BDA
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4E7BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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