#4E73DC#4E73DC

#4E73DC is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.3% C 0.166 H 266.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#4E73DC
RGBrgb(78, 115, 220)
HSLhsl(224, 67%, 58%)
HSVhsv(224, 65%, 86%)
CMYKcmyk(64.5%, 47.7%, 0%, 13.7%)
CIE-LABlab(50.74, 20.18, -57.71)
CIE-LCHlch(50.74, 61.14, 289.27°)
OKLaboklab(58.26% -0.0096 -0.1652)
OKLCHoklch(58.26% 0.166 266.7)
XYZxyz(22.1864, 19.0464, 70.2034)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E73DC #DCB74E
analogous
#4EBADC #4E73DC #704EDC
triadic
#4E73DC #DC4E73 #73DC4E
tetradic
#4E73DC #DC4EBA #DCB74E #4EDC70
square
#4E73DC #DC4EBA #DCB74E #4EDC70
split-complementary
#4E73DC #DC704E #BADC4E
monochromatic
#1D3C93 #2750C6 #4E73DC #819BE6 #B4C4F0

Accessibility & contrast

On white

4.37
#4E73DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#4E73DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E73DC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E73DC#FFFFFF#000000##000000
##4E73DC1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#1D73DA
Tritanopia (blue-blind)
#008B9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e73dc;
/* rgb */ color: rgb(78, 115, 220);
/* oklch */ color: oklch(58.3% 0.166 266.7);
Tailwind
colors: {
  custom: {
    50: '#8d9ae7',
    500: '#4e73dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e73dc;
$custom-light: #8d9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e73dc",
  "rgb": {
    "r": 78,
    "g": 115,
    "b": 220
  },
  "hsl": {
    "h": 224.366,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.16551,
    "h": 266.7
  },
  "luminance": 0.19048
}

Semantic roles & 50–950 ramp

primary
#4E73DC
secondary
#DFD0A7
accent
#BD3EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4E73DC

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

Preview Lab → · Contrast checker → · Palette generator →

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