#4E7FC5#4E7FC5

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

Color values

HEX#4E7FC5
RGBrgb(78, 127, 197)
HSLhsl(215, 51%, 54%)
HSVhsv(215, 60%, 77%)
CMYKcmyk(60.4%, 35.5%, 0%, 22.7%)
CIE-LABlab(52.76, 4.95, -41.44)
CIE-LCHlch(52.76, 41.73, 276.82°)
OKLaboklab(59.39% -0.0262 -0.1173)
OKLCHoklch(59.39% 0.12 257.4)
XYZxyz(20.8057, 20.8278, 55.7362)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7FC5 #C5944E
analogous
#4EBBC5 #4E7FC5 #594EC5
triadic
#4E7FC5 #C54E7F #7FC54E
tetradic
#4E7FC5 #C54EBB #C5944E #4EC559
square
#4E7FC5 #C54EBB #C5944E #4EC559
split-complementary
#4E7FC5 #C5594E #BBC54E
monochromatic
#264573 #3561A1 #4E7FC5 #7CA0D4 #AAC2E3

Accessibility & contrast

On white

4.07
#4E7FC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4E7FC5#FFFFFF#000000##000000
##4E7FC51.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6184C8
Deuteranopia (green-blind)
#5279C4
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e7fc5;
/* rgb */ color: rgb(78, 127, 197);
/* oklch */ color: oklch(59.4% 0.120 257.4);
Tailwind
colors: {
  custom: {
    50: '#89a3d7',
    500: '#4e7fc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7fc5;
$custom-light: #89a3d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7fc5",
  "rgb": {
    "r": 78,
    "g": 127,
    "b": 197
  },
  "hsl": {
    "h": 215.294,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.59394,
    "c": 0.12024,
    "h": 257.4
  },
  "luminance": 0.2083
}

Semantic roles & 50–950 ramp

primary
#4E7FC5
secondary
#D1BC9E
accent
#A04EDA
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4E7FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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