#4E7BC4#4E7BC4

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

Color values

HEX#4E7BC4
RGBrgb(78, 123, 196)
HSLhsl(217, 50%, 54%)
HSVhsv(217, 60%, 77%)
CMYKcmyk(60.2%, 37.2%, 0%, 23.1%)
CIE-LABlab(51.58, 7.04, -42.74)
CIE-LCHlch(51.58, 43.31, 279.35°)
OKLaboklab(58.46% -0.0221 -0.1212)
OKLCHoklch(58.46% 0.123 259.6)
XYZxyz(20.1852, 19.7694, 54.9660)
Luminance0.1977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BC4 #C4974E
analogous
#4EB6C4 #4E7BC4 #5C4EC4
triadic
#4E7BC4 #C44E7B #7BC44E
tetradic
#4E7BC4 #C44EB6 #C4974E #4EC45C
square
#4E7BC4 #C44EB6 #C4974E #4EC45C
split-complementary
#4E7BC4 #C45C4E #B6C44E
monochromatic
#264372 #355EA0 #4E7BC4 #7C9DD3 #AABFE3

Accessibility & contrast

On white

4.24
#4E7BC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#4E7BC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BC4
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BC4#FFFFFF#000000##000000
##4E7BC41.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C81C7
Deuteranopia (green-blind)
#4C76C2
Tritanopia (blue-blind)
#008B96
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7bc4;
/* rgb */ color: rgb(78, 123, 196);
/* oklch */ color: oklch(58.5% 0.123 259.6);
Tailwind
colors: {
  custom: {
    50: '#89a0d6',
    500: '#4e7bc4',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bc4;
$custom-light: #89a0d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bc4",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 196
  },
  "hsl": {
    "h": 217.119,
    "s": 50,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.12321,
    "h": 259.6
  },
  "luminance": 0.19771
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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