#4C7AED#4C7AED

#4C7AED is a mid, vivid blue. Relative luminance 0.216; OKLCH L 60.7% C 0.181 H 265.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C7AED
RGBrgb(76, 122, 237)
HSLhsl(223, 82%, 61%)
HSVhsv(223, 68%, 93%)
CMYKcmyk(67.9%, 48.5%, 0%, 7.1%)
CIE-LABlab(53.57, 21.45, -62.71)
CIE-LCHlch(53.57, 66.28, 288.88°)
OKLaboklab(60.72% -0.0155 -0.1799)
OKLCHoklch(60.72% 0.181 265.1)
XYZxyz(25.2207, 21.5675, 82.9381)
Luminance0.2157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C7AED #EDBF4C
analogous
#4CCBED #4C7AED #6F4CED
triadic
#4C7AED #ED4C7A #7AED4C
tetradic
#4C7AED #ED4CCB #EDBF4C #4CED6F
square
#4C7AED #ED4CCB #EDBF4C #4CED6F
split-complementary
#4C7AED #ED6F4C #CBED4C
monochromatic
#113EAD #1752E5 #4C7AED #84A3F3 #BBCDF8

Accessibility & contrast

On white

3.95
#4C7AED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4C7AED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C7AED
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C7AED#FFFFFF#000000##000000
##4C7AED1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A88F1
Deuteranopia (green-blind)
#0379EB
Tritanopia (blue-blind)
#0095A8
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c7aed;
/* rgb */ color: rgb(76, 122, 237);
/* oklch */ color: oklch(60.7% 0.181 265.1);
Tailwind
colors: {
  custom: {
    50: '#8f9ff3',
    500: '#4c7aed',
    950: '#000000',
  },
}
SCSS
$custom: #4c7aed;
$custom-light: #8f9ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c7aed",
  "rgb": {
    "r": 76,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 222.857,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.18056,
    "h": 265.1
  },
  "luminance": 0.2157
}

Semantic roles & 50–950 ramp

primary
#4C7AED
secondary
#E8D7AC
accent
#A107DE
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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