#4E74DC#4E74DC

#4E74DC is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.5% C 0.164 H 266.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4E74DC
RGBrgb(78, 116, 220)
HSLhsl(224, 67%, 58%)
HSVhsv(224, 65%, 86%)
CMYKcmyk(64.5%, 47.3%, 0%, 13.7%)
CIE-LABlab(51.01, 19.56, -57.28)
CIE-LCHlch(51.01, 60.53, 288.85°)
OKLaboklab(58.46% -0.0106 -0.164)
OKLCHoklch(58.46% 0.164 266.3)
XYZxyz(22.3011, 19.2757, 70.2416)
Luminance0.1928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E74DC #DCB64E
analogous
#4EBBDC #4E74DC #6F4EDC
triadic
#4E74DC #DC4E74 #74DC4E
tetradic
#4E74DC #DC4EBB #DCB64E #4EDC6F
square
#4E74DC #DC4EBB #DCB64E #4EDC6F
split-complementary
#4E74DC #DC6F4E #BBDC4E
monochromatic
#1D3C93 #2752C6 #4E74DC #819CE6 #B4C4F0

Accessibility & contrast

On white

4.32
#4E74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4E74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E74DC
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E74DC#FFFFFF#000000##000000
##4E74DC1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#2173DA
Tritanopia (blue-blind)
#008C9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4e74dc;
/* rgb */ color: rgb(78, 116, 220);
/* oklch */ color: oklch(58.5% 0.164 266.3);
Tailwind
colors: {
  custom: {
    50: '#8d9be7',
    500: '#4e74dc',
    950: '#000000',
  },
}
SCSS
$custom: #4e74dc;
$custom-light: #8d9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e74dc",
  "rgb": {
    "r": 78,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 223.944,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58459,
    "c": 0.1643,
    "h": 266.3
  },
  "luminance": 0.19278
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4E74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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