#4E7BC6#4E7BC6

#4E7BC6 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.126 H 260.1°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4E7BC6
RGBrgb(78, 123, 198)
HSLhsl(218, 51%, 54%)
HSVhsv(218, 61%, 78%)
CMYKcmyk(60.6%, 37.9%, 0%, 22.4%)
CIE-LABlab(51.68, 7.71, -43.72)
CIE-LCHlch(51.68, 44.39, 280.00°)
OKLaboklab(58.57% -0.0217 -0.1241)
OKLCHoklch(58.57% 0.126 260.1)
XYZxyz(20.4143, 19.8610, 56.1729)
Luminance0.1986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BC6 #C6994E
analogous
#4EB7C6 #4E7BC6 #5D4EC6
triadic
#4E7BC6 #C64E7B #7BC64E
tetradic
#4E7BC6 #C64EB7 #C6994E #4EC65D
square
#4E7BC6 #C64EB7 #C6994E #4EC65D
split-complementary
#4E7BC6 #C65D4E #B7C64E
monochromatic
#254374 #345EA2 #4E7BC6 #7C9ED5 #ABC0E4

Accessibility & contrast

On white

4.22
#4E7BC6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4E7BC6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BC6
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BC6#FFFFFF#000000##000000
##4E7BC61.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B81C9
Deuteranopia (green-blind)
#4B76C4
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4e7bc6;
/* rgb */ color: rgb(78, 123, 198);
/* oklch */ color: oklch(58.6% 0.126 260.1);
Tailwind
colors: {
  custom: {
    50: '#8aa0d7',
    500: '#4e7bc6',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bc6;
$custom-light: #8aa0d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bc6",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 198
  },
  "hsl": {
    "h": 217.5,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58571,
    "c": 0.12594,
    "h": 260.1
  },
  "luminance": 0.19863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E7BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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