#4E7AC5#4E7AC5

#4E7AC5 is a mid, vivid blue. Relative luminance 0.196; OKLCH L 58.3% C 0.126 H 260.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4E7AC5
RGBrgb(78, 122, 197)
HSLhsl(218, 51%, 54%)
HSVhsv(218, 60%, 77%)
CMYKcmyk(60.4%, 38.1%, 0%, 22.7%)
CIE-LABlab(51.35, 7.98, -43.67)
CIE-LCHlch(51.35, 44.40, 280.36°)
OKLaboklab(58.29% -0.0208 -0.1239)
OKLCHoklch(58.29% 0.126 260.5)
XYZxyz(20.1759, 19.5682, 55.5263)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7AC5 #C5994E
analogous
#4EB6C5 #4E7AC5 #5E4EC5
triadic
#4E7AC5 #C54E7A #7AC54E
tetradic
#4E7AC5 #C54EB6 #C5994E #4EC55E
square
#4E7AC5 #C54EB6 #C5994E #4EC55E
split-complementary
#4E7AC5 #C55E4E #B6C54E
monochromatic
#264273 #355DA1 #4E7AC5 #7C9DD4 #AABFE3

Accessibility & contrast

On white

4.27
#4E7AC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4E7AC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7AC5
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7AC5#FFFFFF#000000##000000
##4E7AC51.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A80C8
Deuteranopia (green-blind)
#4A75C3
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4e7ac5;
/* rgb */ color: rgb(78, 122, 197);
/* oklch */ color: oklch(58.3% 0.126 260.5);
Tailwind
colors: {
  custom: {
    50: '#89a0d7',
    500: '#4e7ac5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7ac5;
$custom-light: #89a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7ac5",
  "rgb": {
    "r": 78,
    "g": 122,
    "b": 197
  },
  "hsl": {
    "h": 217.815,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58294,
    "c": 0.12569,
    "h": 260.5
  },
  "luminance": 0.1957
}

Semantic roles & 50–950 ramp

primary
#4E7AC5
secondary
#D1BE9E
accent
#A64EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4E7AC5

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

Preview Lab → · Contrast checker → · Palette generator →

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