#4D74CD#4D74CD

#4D74CD is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.4% C 0.144 H 264.5°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#4D74CD
RGBrgb(77, 116, 205)
HSLhsl(222, 56%, 55%)
HSVhsv(222, 62%, 80%)
CMYKcmyk(62.4%, 43.4%, 0%, 19.6%)
CIE-LABlab(50.07, 14.21, -50.28)
CIE-LCHlch(50.07, 52.25, 285.78°)
OKLaboklab(57.44% -0.0138 -0.1434)
OKLCHoklch(57.44% 0.144 264.5)
XYZxyz(20.3216, 18.4745, 60.2408)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74CD #CDA64D
analogous
#4DB4CD #4D74CD #664DCD
triadic
#4D74CD #CD4D74 #74CD4D
tetradic
#4D74CD #CD4DB4 #CDA64D #4DCD66
square
#4D74CD #CD4DB4 #CDA64D #4DCD66
split-complementary
#4D74CD #CD664D #B4CD4D
monochromatic
#233E7D #3056AC #4D74CD #7D99DA #ADBFE8

Accessibility & contrast

On white

4.47
#4D74CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#4D74CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74CD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74CD#FFFFFF#000000##000000
##4D74CD1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#3772CB
Tritanopia (blue-blind)
#008896
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4d74cd;
/* rgb */ color: rgb(77, 116, 205);
/* oklch */ color: oklch(57.4% 0.144 264.5);
Tailwind
colors: {
  custom: {
    50: '#8a9bdd',
    500: '#4d74cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d74cd;
$custom-light: #8a9bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74cd",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 221.719,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57436,
    "c": 0.14406,
    "h": 264.5
  },
  "luminance": 0.18476
}

Semantic roles & 50–950 ramp

primary
#4D74CD
secondary
#D6C5A0
accent
#B148DF
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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