#4C72ED#4C72ED

#4C72ED is a mid, vivid blue. Relative luminance 0.197; OKLCH L 59.1% C 0.190 H 267.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4C72ED
RGBrgb(76, 114, 237)
HSLhsl(226, 82%, 61%)
HSVhsv(226, 68%, 93%)
CMYKcmyk(67.9%, 51.9%, 0%, 7.1%)
CIE-LABlab(51.48, 26.40, -66.08)
CIE-LCHlch(51.48, 71.16, 291.78°)
OKLaboklab(59.14% -0.0087 -0.1899)
OKLCHoklch(59.14% 0.19 267.4)
XYZxyz(24.2786, 19.6832, 82.6241)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C72ED #EDC74C
analogous
#4CC2ED #4C72ED #774CED
triadic
#4C72ED #ED4C72 #72ED4C
tetradic
#4C72ED #ED4CC2 #EDC74C #4CED77
square
#4C72ED #ED4CC2 #EDC74C #4CED77
split-complementary
#4C72ED #ED774C #C2ED4C
monochromatic
#1136AD #1748E5 #4C72ED #849EF3 #BBCAF8

Accessibility & contrast

On white

4.25
#4C72ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4C72ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C72ED
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C72ED#FFFFFF#000000##000000
##4C72ED1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F1
Deuteranopia (green-blind)
#0074EB
Tritanopia (blue-blind)
#008FA5
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c72ed;
/* rgb */ color: rgb(76, 114, 237);
/* oklch */ color: oklch(59.1% 0.190 267.4);
Tailwind
colors: {
  custom: {
    50: '#909af4',
    500: '#4c72ed',
    950: '#000000',
  },
}
SCSS
$custom: #4c72ed;
$custom-light: #909af4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c72ed",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 237
  },
  "hsl": {
    "h": 225.839,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.59137,
    "c": 0.19013,
    "h": 267.4
  },
  "luminance": 0.19686
}

Semantic roles & 50–950 ramp

primary
#4C72ED
secondary
#E8DAAC
accent
#AB07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C72ED

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

Preview Lab → · Contrast checker → · Palette generator →

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