#4E7DD7#4E7DD7

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

Color values

HEX#4E7DD7
RGBrgb(78, 125, 215)
HSLhsl(219, 63%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(63.7%, 41.9%, 0%, 15.7%)
CIE-LABlab(53.16, 12.29, -51.02)
CIE-LCHlch(53.16, 52.48, 283.54°)
OKLaboklab(60.01% -0.0201 -0.1454)
OKLCHoklch(60.01% 0.147 262.1)
XYZxyz(22.7369, 21.1911, 67.1689)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DD7 #D7A84E
analogous
#4EC2D7 #4E7DD7 #634ED7
triadic
#4E7DD7 #D74E7D #7DD74E
tetradic
#4E7DD7 #D74EC2 #D7A84E #4ED763
square
#4E7DD7 #D74EC2 #D7A84E #4ED763
split-complementary
#4E7DD7 #D7634E #C2D74E
monochromatic
#1F448B #2B5DBD #4E7DD7 #80A2E2 #B2C6EE

Accessibility & contrast

On white

4.01
#4E7DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7DD7#FFFFFF#000000##000000
##4E7DD71.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DA
Deuteranopia (green-blind)
#3F79D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4e7dd7;
/* rgb */ color: rgb(78, 125, 215);
/* oklch */ color: oklch(60.0% 0.147 262.1);
Tailwind
colors: {
  custom: {
    50: '#8ca2e4',
    500: '#4e7dd7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dd7;
$custom-light: #8ca2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dd7",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 215
  },
  "hsl": {
    "h": 219.416,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60014,
    "c": 0.14682,
    "h": 262.1
  },
  "luminance": 0.21193
}

Semantic roles & 50–950 ramp

primary
#4E7DD7
secondary
#DCC9A5
accent
#AE42E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0F15
muted
#7E7E84

Preview Lab

Preview with #4E7DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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