#4D74EC#4D74EC

#4D74EC is a mid, vivid blue. Relative luminance 0.201; OKLCH L 59.5% C 0.186 H 267.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4D74EC
RGBrgb(77, 116, 236)
HSLhsl(225, 81%, 61%)
HSVhsv(225, 67%, 93%)
CMYKcmyk(67.4%, 50.8%, 0%, 7.5%)
CIE-LABlab(51.98, 24.96, -64.72)
CIE-LCHlch(51.98, 69.36, 291.09°)
OKLaboklab(59.51% -0.0096 -0.1859)
OKLCHoklch(59.51% 0.186 267)
XYZxyz(24.4410, 20.1223, 81.9366)
Luminance0.2013 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74EC #ECC54D
analogous
#4DC4EC #4D74EC #764DEC
triadic
#4D74EC #EC4D74 #74EC4D
tetradic
#4D74EC #EC4DC4 #ECC54D #4DEC76
square
#4D74EC #EC4DC4 #ECC54D #4DEC76
split-complementary
#4D74EC #EC764D #C4EC4D
monochromatic
#1238AC #184AE4 #4D74EC #849FF2 #BCCAF8

Accessibility & contrast

On white

4.18
#4D74EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#4D74EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74EC
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74EC#FFFFFF#000000##000000
##4D74EC1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A84F0
Deuteranopia (green-blind)
#0075EA
Tritanopia (blue-blind)
#0090A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d74ec;
/* rgb */ color: rgb(77, 116, 236);
/* oklch */ color: oklch(59.5% 0.186 267.0);
Tailwind
colors: {
  custom: {
    50: '#909bf3',
    500: '#4d74ec',
    950: '#000000',
  },
}
SCSS
$custom: #4d74ec;
$custom-light: #909bf3;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74ec",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 225.283,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59506,
    "c": 0.18611,
    "h": 267
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#4D74EC
secondary
#E8DAAD
accent
#A908DD
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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