#4D74E8#4D74E8

#4D74E8 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 59.2% C 0.181 H 266.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#4D74E8
RGBrgb(77, 116, 232)
HSLhsl(225, 77%, 61%)
HSVhsv(225, 67%, 91%)
CMYKcmyk(66.8%, 50%, 0%, 9%)
CIE-LABlab(51.72, 23.57, -62.90)
CIE-LCHlch(51.72, 67.17, 290.54°)
OKLaboklab(59.23% -0.01 -0.1805)
OKLCHoklch(59.23% 0.181 266.8)
XYZxyz(23.8664, 19.8924, 78.9101)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74E8 #E8C14D
analogous
#4DC1E8 #4D74E8 #734DE8
triadic
#4D74E8 #E84D74 #74E84D
tetradic
#4D74E8 #E84DC1 #E8C14D #4DE873
square
#4D74E8 #E84DC1 #E8C14D #4DE873
split-complementary
#4D74E8 #E8734D #C1E84D
monochromatic
#153AA5 #1C4CDB #4D74E8 #839EEF #B9C9F6

Accessibility & contrast

On white

4.22
#4D74E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#4D74E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74E8
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74E8#FFFFFF#000000##000000
##4D74E81.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3083EC
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d74e8;
/* rgb */ color: rgb(77, 116, 232);
/* oklch */ color: oklch(59.2% 0.181 266.8);
Tailwind
colors: {
  custom: {
    50: '#8f9bf0',
    500: '#4d74e8',
    950: '#000000',
  },
}
SCSS
$custom: #4d74e8;
$custom-light: #8f9bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74e8",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 224.903,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.18078,
    "h": 266.8
  },
  "luminance": 0.19895
}

Semantic roles & 50–950 ramp

primary
#4D74E8
secondary
#E6D7AB
accent
#A60CD9
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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