#4D74E6#4D74E6

#4D74E6 is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.1% C 0.178 H 266.7°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4D74E6
RGBrgb(77, 116, 230)
HSLhsl(225, 75%, 60%)
HSVhsv(225, 67%, 90%)
CMYKcmyk(66.5%, 49.6%, 0%, 9.8%)
CIE-LABlab(51.59, 22.87, -61.98)
CIE-LCHlch(51.59, 66.07, 290.25°)
OKLaboklab(59.09% -0.0102 -0.1778)
OKLCHoklch(59.09% 0.178 266.7)
XYZxyz(23.5839, 19.7795, 77.4225)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74E6 #E6BF4D
analogous
#4DC0E6 #4D74E6 #734DE6
triadic
#4D74E6 #E64D74 #74E64D
tetradic
#4D74E6 #E64DC0 #E6BF4D #4DE673
square
#4D74E6 #E64DC0 #E6BF4D #4DE673
split-complementary
#4D74E6 #E6734D #C0E64D
monochromatic
#173AA2 #1E4DD8 #4D74E6 #839EEE #B8C8F5

Accessibility & contrast

On white

4.24
#4D74E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4D74E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74E6
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74E6#FFFFFF#000000##000000
##4D74E61.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3382EA
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#008FA2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d74e6;
/* rgb */ color: rgb(77, 116, 230);
/* oklch */ color: oklch(59.1% 0.178 266.7);
Tailwind
colors: {
  custom: {
    50: '#8f9bef',
    500: '#4d74e6',
    950: '#000000',
  },
}
SCSS
$custom: #4d74e6;
$custom-light: #8f9bef;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74e6",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 230
  },
  "hsl": {
    "h": 224.706,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.1781,
    "h": 266.7
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#4D74E6
secondary
#E5D6AA
accent
#A40ED8
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E16
muted
#7E7E84

Preview Lab

Preview with #4D74E6

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

Preview Lab → · Contrast checker → · Palette generator →

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