#4D7CE1#4D7CE1

#4D7CE1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.4% C 0.162 H 263.5°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#4D7CE1
RGBrgb(77, 124, 225)
HSLhsl(221, 71%, 59%)
HSVhsv(221, 66%, 88%)
CMYKcmyk(65.8%, 44.9%, 0%, 11.8%)
CIE-LABlab(53.41, 16.19, -56.24)
CIE-LCHlch(53.41, 58.52, 286.06°)
OKLaboklab(60.39% -0.0182 -0.1608)
OKLCHoklch(60.39% 0.162 263.5)
XYZxyz(23.8541, 21.4270, 74.0983)
Luminance0.2143 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CE1 #E1B24D
analogous
#4DC6E1 #4D7CE1 #684DE1
triadic
#4D7CE1 #E14D7C #7CE14D
tetradic
#4D7CE1 #E14DC6 #E1B24D #4DE168
square
#4D7CE1 #E14DC6 #E1B24D #4DE168
split-complementary
#4D7CE1 #E1684D #C6E14D
monochromatic
#1A429A #2359CE #4D7CE1 #81A3EA #B6C9F3

Accessibility & contrast

On white

3.97
#4D7CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#4D7CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CE1
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CE1#FFFFFF#000000##000000
##4D7CE11.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A87E5
Deuteranopia (green-blind)
#3079DF
Tritanopia (blue-blind)
#0093A3
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d7ce1;
/* rgb */ color: rgb(77, 124, 225);
/* oklch */ color: oklch(60.4% 0.162 263.5);
Tailwind
colors: {
  custom: {
    50: '#8da1eb',
    500: '#4d7ce1',
    950: '#000000',
  },
}
SCSS
$custom: #4d7ce1;
$custom-light: #8da1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7ce1",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 225
  },
  "hsl": {
    "h": 220.946,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60385,
    "c": 0.16183,
    "h": 263.5
  },
  "luminance": 0.21429
}

Semantic roles & 50–950 ramp

primary
#4D7CE1
secondary
#E2CFA8
accent
#B53AEE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4D7CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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