#4E7FD7#4E7FD7

#4E7FD7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.145 H 261.2°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4E7FD7
RGBrgb(78, 127, 215)
HSLhsl(219, 63%, 57%)
HSVhsv(219, 64%, 84%)
CMYKcmyk(63.7%, 40.9%, 0%, 15.7%)
CIE-LABlab(53.71, 11.07, -50.14)
CIE-LCHlch(53.71, 51.34, 282.45°)
OKLaboklab(60.44% -0.0221 -0.1428)
OKLCHoklch(60.44% 0.145 261.2)
XYZxyz(22.9927, 21.7026, 67.2541)
Luminance0.2170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FD7 #D7A64E
analogous
#4EC4D7 #4E7FD7 #614ED7
triadic
#4E7FD7 #D74E7F #7FD74E
tetradic
#4E7FD7 #D74EC4 #D7A64E #4ED761
square
#4E7FD7 #D74EC4 #D7A64E #4ED761
split-complementary
#4E7FD7 #D7614E #C4D74E
monochromatic
#1F468B #2B5FBD #4E7FD7 #80A3E2 #B2C7EE

Accessibility & contrast

On white

3.93
#4E7FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4E7FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FD7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FD7#FFFFFF#000000##000000
##4E7FD71.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#437AD5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4e7fd7;
/* rgb */ color: rgb(78, 127, 215);
/* oklch */ color: oklch(60.4% 0.145 261.2);
Tailwind
colors: {
  custom: {
    50: '#8ca3e4',
    500: '#4e7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fd7;
$custom-light: #8ca3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fd7",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 218.54,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60441,
    "c": 0.14452,
    "h": 261.2
  },
  "luminance": 0.21705
}

Semantic roles & 50–950 ramp

primary
#4E7FD7
secondary
#DCC8A5
accent
#AB42E6
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4E7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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