#4E7BC7#4E7BC7

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

Color values

HEX#4E7BC7
RGBrgb(78, 123, 199)
HSLhsl(218, 52%, 54%)
HSVhsv(218, 61%, 78%)
CMYKcmyk(60.8%, 38.2%, 0%, 22%)
CIE-LABlab(51.73, 8.05, -44.20)
CIE-LCHlch(51.73, 44.93, 280.32°)
OKLaboklab(58.63% -0.0214 -0.1255)
OKLCHoklch(58.63% 0.127 260.3)
XYZxyz(20.5300, 19.9073, 56.7824)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7BC7 #C79A4E
analogous
#4EB8C7 #4E7BC7 #5E4EC7
triadic
#4E7BC7 #C74E7B #7BC74E
tetradic
#4E7BC7 #C74EB8 #C79A4E #4EC75E
square
#4E7BC7 #C74EB8 #C79A4E #4EC75E
split-complementary
#4E7BC7 #C75E4E #B8C74E
monochromatic
#254375 #345EA4 #4E7BC7 #7C9ED6 #ABC0E4

Accessibility & contrast

On white

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

On black

4.98
#4E7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7BC7
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7BC7#FFFFFF#000000##000000
##4E7BC71.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4e7bc7;
/* rgb */ color: rgb(78, 123, 199);
/* oklch */ color: oklch(58.6% 0.127 260.3);
Tailwind
colors: {
  custom: {
    50: '#8aa0d8',
    500: '#4e7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #4e7bc7;
$custom-light: #8aa0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7bc7",
  "rgb": {
    "r": 78,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 217.686,
    "s": 51.931,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58628,
    "c": 0.12731,
    "h": 260.3
  },
  "luminance": 0.19909
}

Semantic roles & 50–950 ramp

primary
#4E7BC7
secondary
#D2BF9F
accent
#A64CDB
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0D0E14
muted
#7D7E83

Preview Lab

Preview with #4E7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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