#4E7FD5#4E7FD5

#4E7FD5 is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.3% C 0.142 H 260.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD5
RGBrgb(78, 127, 213)
HSLhsl(218, 62%, 57%)
HSVhsv(218, 63%, 84%)
CMYKcmyk(63.4%, 40.4%, 0%, 16.5%)
CIE-LABlab(53.60, 10.39, -49.18)
CIE-LCHlch(53.60, 50.27, 281.92°)
OKLaboklab(60.32% -0.0225 -0.14)
OKLCHoklch(60.32% 0.142 260.9)
XYZxyz(22.7373, 21.6004, 65.9089)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD5 #D5A44E
analogous
#4EC3D5 #4E7FD5 #614ED5
triadic
#4E7FD5 #D54E7F #7FD54E
tetradic
#4E7FD5 #D54EC3 #D5A44E #4ED561
square
#4E7FD5 #D54EC3 #D5A44E #4ED561
split-complementary
#4E7FD5 #D5614E #C3D54E
monochromatic
#204688 #2C5FBA #4E7FD5 #7FA3E1 #B1C7EC

Accessibility & contrast

On white

3.95
#4E7FD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#4E7FD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD5
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD5#FFFFFF#000000##000000
##4E7FD51.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5887D8
Deuteranopia (green-blind)
#457AD3
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7fd5;
/* rgb */ color: rgb(78, 127, 213);
/* oklch */ color: oklch(60.3% 0.142 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ca3e2',
    500: '#4e7fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd5;
$custom-light: #8ca3e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd5",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 213
  },
  "hsl": {
    "h": 218.222,
    "s": 61.644,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60321,
    "c": 0.14182,
    "h": 260.9
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#4E7FD5
secondary
#DBC7A4
accent
#AA43E5
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E7FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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