#4D74D7#4D74D7

#4D74D7 is a mid, vivid blue. Relative luminance 0.190; OKLCH L 58.1% C 0.158 H 265.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#4D74D7
RGBrgb(77, 116, 215)
HSLhsl(223, 63%, 57%)
HSVhsv(223, 64%, 84%)
CMYKcmyk(64.2%, 46%, 0%, 15.7%)
CIE-LABlab(50.66, 17.66, -55.02)
CIE-LCHlch(50.66, 57.79, 287.80°)
OKLaboklab(58.08% -0.0122 -0.1573)
OKLCHoklch(58.08% 0.158 265.6)
XYZxyz(21.5675, 18.9729, 66.8023)
Luminance0.1898 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74D7 #D7B04D
analogous
#4DB9D7 #4D74D7 #6B4DD7
triadic
#4D74D7 #D74D74 #74D74D
tetradic
#4D74D7 #D74DB9 #D7B04D #4DD76B
square
#4D74D7 #D74DB9 #D7B04D #4DD76B
split-complementary
#4D74D7 #D76B4D #B9D74D
monochromatic
#1F3D8A #2A54BC #4D74D7 #7F9BE2 #B1C2ED

Accessibility & contrast

On white

4.38
#4D74D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#4D74D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74D7
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74D7#FFFFFF#000000##000000
##4D74D71.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#437FDB
Deuteranopia (green-blind)
#2973D5
Tritanopia (blue-blind)
#008B9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #4d74d7;
/* rgb */ color: rgb(77, 116, 215);
/* oklch */ color: oklch(58.1% 0.158 265.6);
Tailwind
colors: {
  custom: {
    50: '#8c9be4',
    500: '#4d74d7',
    950: '#000000',
  },
}
SCSS
$custom: #4d74d7;
$custom-light: #8c9be4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74d7",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 215
  },
  "hsl": {
    "h": 223.043,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58078,
    "c": 0.1578,
    "h": 265.6
  },
  "luminance": 0.18975
}

Semantic roles & 50–950 ramp

primary
#4D74D7
secondary
#DCCCA4
accent
#B841E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D74D7

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

Preview Lab → · Contrast checker → · Palette generator →

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