#4E7FC7#4E7FC7

#4E7FC7 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.5% C 0.123 H 257.9°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4E7FC7
RGBrgb(78, 127, 199)
HSLhsl(216, 52%, 54%)
HSVhsv(216, 61%, 78%)
CMYKcmyk(60.8%, 36.2%, 0%, 22%)
CIE-LABlab(52.86, 5.63, -42.42)
CIE-LCHlch(52.86, 42.79, 277.56°)
OKLaboklab(59.51% -0.0257 -0.1202)
OKLCHoklch(59.51% 0.123 257.9)
XYZxyz(21.0364, 20.9201, 56.9511)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FC7 #C7964E
analogous
#4EBCC7 #4E7FC7 #5A4EC7
triadic
#4E7FC7 #C74E7F #7FC74E
tetradic
#4E7FC7 #C74EBC #C7964E #4EC75A
square
#4E7FC7 #C74EBC #C7964E #4EC75A
split-complementary
#4E7FC7 #C75A4E #BCC74E
monochromatic
#254675 #3461A4 #4E7FC7 #7CA1D6 #ABC2E4

Accessibility & contrast

On white

4.05
#4E7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4E7FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7FC7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7FC7#FFFFFF#000000##000000
##4E7FC71.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7fc7;
/* rgb */ color: rgb(78, 127, 199);
/* oklch */ color: oklch(59.5% 0.123 257.9);
Tailwind
colors: {
  custom: {
    50: '#8aa3d8',
    500: '#4e7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fc7;
$custom-light: #8aa3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fc7",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 215.702,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.12293,
    "h": 257.9
  },
  "luminance": 0.20922
}

Semantic roles & 50–950 ramp

primary
#4E7FC7
secondary
#D2BD9F
accent
#A14CDB
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4E7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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