#4E7BC5#4E7BC5

#4E7BC5 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 58.5% C 0.125 H 259.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4E7BC5
RGBrgb(78, 123, 197)
HSLhsl(217, 51%, 54%)
HSVhsv(217, 60%, 77%)
CMYKcmyk(60.4%, 37.6%, 0%, 22.7%)
CIE-LABlab(51.63, 7.37, -43.23)
CIE-LCHlch(51.63, 43.85, 279.68°)
OKLaboklab(58.51% -0.0219 -0.1226)
OKLCHoklch(58.51% 0.125 259.9)
XYZxyz(20.2994, 19.8150, 55.5674)
Luminance0.1982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BC5 #C5984E
analogous
#4EB7C5 #4E7BC5 #5D4EC5
triadic
#4E7BC5 #C54E7B #7BC54E
tetradic
#4E7BC5 #C54EB7 #C5984E #4EC55D
square
#4E7BC5 #C54EB7 #C5984E #4EC55D
split-complementary
#4E7BC5 #C55D4E #B7C54E
monochromatic
#264373 #355EA1 #4E7BC5 #7C9DD4 #AAC0E3

Accessibility & contrast

On white

4.23
#4E7BC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4E7BC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BC5
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BC5#FFFFFF#000000##000000
##4E7BC51.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C8
Deuteranopia (green-blind)
#4B76C3
Tritanopia (blue-blind)
#008C96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7bc5;
/* rgb */ color: rgb(78, 123, 197);
/* oklch */ color: oklch(58.5% 0.125 259.9);
Tailwind
colors: {
  custom: {
    50: '#89a0d7',
    500: '#4e7bc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bc5;
$custom-light: #89a0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bc5",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 197
  },
  "hsl": {
    "h": 217.311,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58513,
    "c": 0.12457,
    "h": 259.9
  },
  "luminance": 0.19817
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7BC5

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

Preview Lab → · Contrast checker → · Palette generator →

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