#4D74D5#4D74D5

#4D74D5 is a mid, vivid blue. Relative luminance 0.189; OKLCH L 57.9% C 0.155 H 265.4°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#4D74D5
RGBrgb(77, 116, 213)
HSLhsl(223, 62%, 57%)
HSVhsv(223, 64%, 84%)
CMYKcmyk(63.8%, 45.5%, 0%, 16.5%)
CIE-LABlab(50.54, 16.97, -54.08)
CIE-LCHlch(50.54, 56.68, 287.42°)
OKLaboklab(57.95% -0.0125 -0.1546)
OKLCHoklch(57.95% 0.155 265.4)
XYZxyz(21.3120, 18.8707, 65.4572)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74D5 #D5AE4D
analogous
#4DB8D5 #4D74D5 #6A4DD5
triadic
#4D74D5 #D54D74 #74D54D
tetradic
#4D74D5 #D54DB8 #D5AE4D #4DD56A
square
#4D74D5 #D54DB8 #D5AE4D #4DD56A
split-complementary
#4D74D5 #D56A4D #B8D54D
monochromatic
#203E88 #2C54B9 #4D74D5 #7F9BE1 #B0C1EC

Accessibility & contrast

On white

4.40
#4D74D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#4D74D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74D5
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74D5#FFFFFF#000000##000000
##4D74D51.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#457FD9
Deuteranopia (green-blind)
#2D72D3
Tritanopia (blue-blind)
#008A9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4d74d5;
/* rgb */ color: rgb(77, 116, 213);
/* oklch */ color: oklch(57.9% 0.155 265.4);
Tailwind
colors: {
  custom: {
    50: '#8c9be2',
    500: '#4d74d5',
    950: '#000000',
  },
}
SCSS
$custom: #4d74d5;
$custom-light: #8c9be2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74d5",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 213
  },
  "hsl": {
    "h": 222.794,
    "s": 61.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57947,
    "c": 0.15507,
    "h": 265.4
  },
  "luminance": 0.18873
}

Semantic roles & 50–950 ramp

primary
#4D74D5
secondary
#DBCBA3
accent
#B643E5
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D74D5

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

Preview Lab → · Contrast checker → · Palette generator →

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