#4E7CD5#4E7CD5

#4E7CD5 is a mid, vivid blue. Relative luminance 0.208; OKLCH L 59.7% C 0.145 H 262.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4E7CD5
RGBrgb(78, 124, 213)
HSLhsl(220, 62%, 57%)
HSVhsv(220, 63%, 84%)
CMYKcmyk(63.4%, 41.8%, 0%, 16.5%)
CIE-LABlab(52.77, 12.22, -50.50)
CIE-LCHlch(52.77, 51.96, 283.60°)
OKLaboklab(59.68% -0.0195 -0.1439)
OKLCHoklch(59.68% 0.145 262.3)
XYZxyz(22.3556, 20.8370, 65.7817)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CD5 #D5A74E
analogous
#4EBFD5 #4E7CD5 #644ED5
triadic
#4E7CD5 #D54E7C #7CD54E
tetradic
#4E7CD5 #D54EBF #D5A74E #4ED564
square
#4E7CD5 #D54EBF #D5A74E #4ED564
split-complementary
#4E7CD5 #D5644E #BFD54E
monochromatic
#204488 #2C5CBA #4E7CD5 #7FA1E1 #B1C5EC

Accessibility & contrast

On white

4.06
#4E7CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4E7CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CD5
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CD5#FFFFFF#000000##000000
##4E7CD51.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5385D8
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7cd5;
/* rgb */ color: rgb(78, 124, 213);
/* oklch */ color: oklch(59.7% 0.145 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ca1e2',
    500: '#4e7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cd5;
$custom-light: #8ca1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cd5",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 219.556,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59679,
    "c": 0.14526,
    "h": 262.3
  },
  "luminance": 0.20839
}

Semantic roles & 50–950 ramp

primary
#4E7CD5
secondary
#DBC8A4
accent
#AE43E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4E7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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