#4E7DD5#4E7DD5

#4E7DD5 is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.9% C 0.144 H 261.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4E7DD5
RGBrgb(78, 125, 213)
HSLhsl(219, 62%, 57%)
HSVhsv(219, 63%, 84%)
CMYKcmyk(63.4%, 41.3%, 0%, 16.5%)
CIE-LABlab(53.05, 11.60, -50.06)
CIE-LCHlch(53.05, 51.39, 283.05°)
OKLaboklab(59.89% -0.0205 -0.1426)
OKLCHoklch(59.89% 0.144 261.8)
XYZxyz(22.4815, 21.0889, 65.8237)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DD5 #D5A64E
analogous
#4EC1D5 #4E7DD5 #634ED5
triadic
#4E7DD5 #D54E7D #7DD54E
tetradic
#4E7DD5 #D54EC1 #D5A64E #4ED563
square
#4E7DD5 #D54EC1 #D5A64E #4ED563
split-complementary
#4E7DD5 #D5634E #C1D54E
monochromatic
#204588 #2C5DBA #4E7DD5 #7FA1E1 #B1C6EC

Accessibility & contrast

On white

4.02
#4E7DD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4E7DD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DD5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DD5#FFFFFF#000000##000000
##4E7DD51.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5585D8
Deuteranopia (green-blind)
#4179D3
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7dd5;
/* rgb */ color: rgb(78, 125, 213);
/* oklch */ color: oklch(59.9% 0.144 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ca2e2',
    500: '#4e7dd5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dd5;
$custom-light: #8ca2e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dd5",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 213
  },
  "hsl": {
    "h": 219.111,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59892,
    "c": 0.1441,
    "h": 261.8
  },
  "luminance": 0.21091
}

Semantic roles & 50–950 ramp

primary
#4E7DD5
secondary
#DBC8A4
accent
#AC43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4E7DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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