#4D74DC#4D74DC

#4D74DC is a mid, vivid blue. Relative luminance 0.192; OKLCH L 58.4% C 0.165 H 266.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#4D74DC
RGBrgb(77, 116, 220)
HSLhsl(224, 67%, 58%)
HSVhsv(224, 65%, 86%)
CMYKcmyk(65%, 47.3%, 0%, 13.7%)
CIE-LABlab(50.96, 19.39, -57.36)
CIE-LCHlch(50.96, 60.55, 288.68°)
OKLaboklab(58.41% -0.0115 -0.1642)
OKLCHoklch(58.41% 0.165 266)
XYZxyz(22.2198, 19.2338, 70.2378)
Luminance0.1924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74DC #DCB54D
analogous
#4DBCDC #4D74DC #6D4DDC
triadic
#4D74DC #DC4D74 #74DC4D
tetradic
#4D74DC #DC4DBC #DCB54D #4DDC6D
square
#4D74DC #DC4DBC #DCB54D #4DDC6D
split-complementary
#4D74DC #DC6D4D #BCDC4D
monochromatic
#1D3D92 #2752C5 #4D74DC #809CE6 #B3C4F0

Accessibility & contrast

On white

4.33
#4D74DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#4D74DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74DC
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74DC#FFFFFF#000000##000000
##4D74DC1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d74dc;
/* rgb */ color: rgb(77, 116, 220);
/* oklch */ color: oklch(58.4% 0.165 266.0);
Tailwind
colors: {
  custom: {
    50: '#8d9be7',
    500: '#4d74dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d74dc;
$custom-light: #8d9be7;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74dc",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 223.636,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.16462,
    "h": 266
  },
  "luminance": 0.19236
}

Semantic roles & 50–950 ramp

primary
#4D74DC
secondary
#DFCFA6
accent
#BB3EEA
background
#F9F9FE
surface
#F2F2FC
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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