#4E7DC5#4E7DC5

#4E7DC5 is a mid, vivid blue. Relative luminance 0.203; OKLCH L 59.0% C 0.122 H 258.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E7DC5
RGBrgb(78, 125, 197)
HSLhsl(216, 51%, 54%)
HSVhsv(216, 60%, 77%)
CMYKcmyk(60.4%, 36.5%, 0%, 22.7%)
CIE-LABlab(52.19, 6.16, -42.33)
CIE-LCHlch(52.19, 42.78, 278.28°)
OKLaboklab(58.95% -0.0241 -0.12)
OKLCHoklch(58.95% 0.122 258.7)
XYZxyz(20.5500, 20.3163, 55.6510)
Luminance0.2032 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E7DC5 #C5964E
analogous
#4EB8C5 #4E7DC5 #5B4EC5
triadic
#4E7DC5 #C54E7D #7DC54E
tetradic
#4E7DC5 #C54EB8 #C5964E #4EC55B
square
#4E7DC5 #C54EB8 #C5964E #4EC55B
split-complementary
#4E7DC5 #C55B4E #B8C54E
monochromatic
#264473 #3560A1 #4E7DC5 #7C9FD4 #AAC1E3

Accessibility & contrast

On white

4.15
#4E7DC5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4E7DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E7DC5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E7DC5#FFFFFF#000000##000000
##4E7DC51.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E83C8
Deuteranopia (green-blind)
#4F77C4
Tritanopia (blue-blind)
#008D98
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e7dc5;
/* rgb */ color: rgb(78, 125, 197);
/* oklch */ color: oklch(59.0% 0.122 258.7);
Tailwind
colors: {
  custom: {
    50: '#89a2d7',
    500: '#4e7dc5',
    950: '#000000',
  },
}
SCSS
$custom: #4e7dc5;
$custom-light: #89a2d7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e7dc5",
  "rgb": {
    "r": 78,
    "g": 125,
    "b": 197
  },
  "hsl": {
    "h": 216.303,
    "s": 50.638,
    "l": 53.922
  },
  "oklch": {
    "l": 0.58953,
    "c": 0.12238,
    "h": 258.7
  },
  "luminance": 0.20318
}

Semantic roles & 50–950 ramp

primary
#4E7DC5
secondary
#D1BD9E
accent
#A34EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4E7DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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