#4E7AD8#4E7AD8

#4E7AD8 is a mid, vivid blue. Relative luminance 0.205; OKLCH L 59.4% C 0.152 H 263.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#4E7AD8
RGBrgb(78, 122, 216)
HSLhsl(221, 64%, 58%)
HSVhsv(221, 64%, 85%)
CMYKcmyk(63.9%, 43.5%, 0%, 15.3%)
CIE-LABlab(52.39, 14.47, -52.80)
CIE-LCHlch(52.39, 54.75, 285.33°)
OKLaboklab(59.44% -0.017 -0.1507)
OKLCHoklch(59.44% 0.152 263.6)
XYZxyz(22.4918, 20.4945, 67.7230)
Luminance0.2050 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AD8 #D8AC4E
analogous
#4EBFD8 #4E7AD8 #674ED8
triadic
#4E7AD8 #D84E7A #7AD84E
tetradic
#4E7AD8 #D84EBF #D8AC4E #4ED867
square
#4E7AD8 #D84EBF #D8AC4E #4ED867
split-complementary
#4E7AD8 #D8674E #BFD84E
monochromatic
#1F428D #2A59BF #4E7AD8 #80A0E3 #B2C5EE

Accessibility & contrast

On white

4.12
#4E7AD8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#4E7AD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AD8
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AD8#FFFFFF#000000##000000
##4E7AD81.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E84DC
Deuteranopia (green-blind)
#3877D6
Tritanopia (blue-blind)
#008F9E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e7ad8;
/* rgb */ color: rgb(78, 122, 216);
/* oklch */ color: oklch(59.4% 0.152 263.6);
Tailwind
colors: {
  custom: {
    50: '#8c9fe4',
    500: '#4e7ad8',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ad8;
$custom-light: #8c9fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ad8",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 216
  },
  "hsl": {
    "h": 220.87,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.59442,
    "c": 0.15167,
    "h": 263.6
  },
  "luminance": 0.20497
}

Semantic roles & 50–950 ramp

primary
#4E7AD8
secondary
#DDCBA5
accent
#B241E7
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E7AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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