#4D74DD#4D74DD

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

Color values

HEX#4D74DD
RGBrgb(77, 116, 221)
HSLhsl(224, 68%, 58%)
HSVhsv(224, 65%, 87%)
CMYKcmyk(65.2%, 47.5%, 0%, 13.3%)
CIE-LABlab(51.02, 19.74, -57.83)
CIE-LCHlch(51.02, 61.10, 288.85°)
OKLaboklab(58.48% -0.0113 -0.1656)
OKLCHoklch(58.48% 0.166 266.1)
XYZxyz(22.3526, 19.2869, 70.9374)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74DD #DDB64D
analogous
#4DBCDD #4D74DD #6E4DDD
triadic
#4D74DD #DD4D74 #74DD4D
tetradic
#4D74DD #DD4DBC #DDB64D #4DDD6E
square
#4D74DD #DD4DBC #DDB64D #4DDD6E
split-complementary
#4D74DD #DD6E4D #BCDD4D
monochromatic
#1C3C93 #2652C7 #4D74DD #809CE7 #B4C4F1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D74DD#FFFFFF#000000##000000
##4D74DD1.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)
#3D80E1
Deuteranopia (green-blind)
#1E73DB
Tritanopia (blue-blind)
#008C9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d74dd;
/* rgb */ color: rgb(77, 116, 221);
/* oklch */ color: oklch(58.5% 0.166 266.1);
Tailwind
colors: {
  custom: {
    50: '#8d9be8',
    500: '#4d74dd',
    950: '#000000',
  },
}
SCSS
$custom: #4d74dd;
$custom-light: #8d9be8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74dd",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 221
  },
  "hsl": {
    "h": 223.75,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58475,
    "c": 0.16598,
    "h": 266.1
  },
  "luminance": 0.19289
}

Semantic roles & 50–950 ramp

primary
#4D74DD
secondary
#DFD0A6
accent
#BC3DEB
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D74DD

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

Preview Lab → · Contrast checker → · Palette generator →

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