#4E7CC5#4E7CC5

#4E7CC5 is a mid, vivid blue. Relative luminance 0.201; OKLCH L 58.7% C 0.123 H 259.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#4E7CC5
RGBrgb(78, 124, 197)
HSLhsl(217, 51%, 54%)
HSVhsv(217, 60%, 77%)
CMYKcmyk(60.4%, 37.1%, 0%, 22.7%)
CIE-LABlab(51.91, 6.77, -42.78)
CIE-LCHlch(51.91, 43.31, 278.99°)
OKLaboklab(58.73% -0.023 -0.1213)
OKLCHoklch(58.73% 0.123 259.3)
XYZxyz(20.4240, 20.0644, 55.6090)
Luminance0.2007 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7CC5 #C5974E
analogous
#4EB7C5 #4E7CC5 #5C4EC5
triadic
#4E7CC5 #C54E7C #7CC54E
tetradic
#4E7CC5 #C54EB7 #C5974E #4EC55C
square
#4E7CC5 #C54EB7 #C5974E #4EC55C
split-complementary
#4E7CC5 #C55C4E #B7C54E
monochromatic
#264473 #355FA1 #4E7CC5 #7C9ED4 #AAC0E3

Accessibility & contrast

On white

4.19
#4E7CC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#4E7CC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7CC5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7CC5#FFFFFF#000000##000000
##4E7CC51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D82C8
Deuteranopia (green-blind)
#4D77C3
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7cc5;
/* rgb */ color: rgb(78, 124, 197);
/* oklch */ color: oklch(58.7% 0.123 259.3);
Tailwind
colors: {
  custom: {
    50: '#89a1d7',
    500: '#4e7cc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7cc5;
$custom-light: #89a1d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7cc5",
  "rgb": {
    "r": 78,
    "g": 124,
    "b": 197
  },
  "hsl": {
    "h": 216.807,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58732,
    "c": 0.12347,
    "h": 259.3
  },
  "luminance": 0.20066
}

Semantic roles & 50–950 ramp

primary
#4E7CC5
secondary
#D1BD9E
accent
#A44EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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