#4D74ED#4D74ED

#4D74ED is a mid, vivid blue. Relative luminance 0.202; OKLCH L 59.6% C 0.187 H 267.1°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#4D74ED
RGBrgb(77, 116, 237)
HSLhsl(225, 82%, 62%)
HSVhsv(225, 68%, 93%)
CMYKcmyk(67.5%, 51.1%, 0%, 7.1%)
CIE-LABlab(52.04, 25.30, -65.17)
CIE-LCHlch(52.04, 69.91, 291.22°)
OKLaboklab(59.58% -0.0095 -0.1872)
OKLCHoklch(59.58% 0.187 267.1)
XYZxyz(24.5867, 20.1806, 82.7039)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D74ED #EDC64D
analogous
#4DC4ED #4D74ED #764DED
triadic
#4D74ED #ED4D74 #74ED4D
tetradic
#4D74ED #ED4DC4 #EDC64D #4DED76
square
#4D74ED #ED4DC4 #EDC64D #4DED76
split-complementary
#4D74ED #ED764D #C4ED4D
monochromatic
#1238AE #174AE6 #4D74ED #859FF3 #BCCBF8

Accessibility & contrast

On white

4.17
#4D74ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#4D74ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D74ED
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D74ED#FFFFFF#000000##000000
##4D74ED1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2884F1
Deuteranopia (green-blind)
#0075EB
Tritanopia (blue-blind)
#0091A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d74ed;
/* rgb */ color: rgb(77, 116, 237);
/* oklch */ color: oklch(59.6% 0.187 267.1);
Tailwind
colors: {
  custom: {
    50: '#909bf4',
    500: '#4d74ed',
    950: '#000000',
  },
}
SCSS
$custom: #4d74ed;
$custom-light: #909bf4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d74ed",
  "rgb": {
    "r": 77,
    "g": 116,
    "b": 237
  },
  "hsl": {
    "h": 225.375,
    "s": 81.633,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59577,
    "c": 0.18743,
    "h": 267.1
  },
  "luminance": 0.20183
}

Semantic roles & 50–950 ramp

primary
#4D74ED
secondary
#E9DAAD
accent
#AA07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4D74ED

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

Preview Lab → · Contrast checker → · Palette generator →

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