#4C71ED#4C71ED

#4C71ED is a mid, vivid blue. Relative luminance 0.195; OKLCH L 58.9% C 0.191 H 267.6°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#4C71ED
RGBrgb(76, 113, 237)
HSLhsl(226, 82%, 61%)
HSVhsv(226, 68%, 93%)
CMYKcmyk(67.9%, 52.3%, 0%, 7.1%)
CIE-LABlab(51.22, 27.02, -66.50)
CIE-LCHlch(51.22, 71.78, 292.11°)
OKLaboklab(58.94% -0.0079 -0.1912)
OKLCHoklch(58.94% 0.191 267.6)
XYZxyz(24.1664, 19.4588, 82.5867)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C71ED #EDC84C
analogous
#4CC2ED #4C71ED #784CED
triadic
#4C71ED #ED4C71 #71ED4C
tetradic
#4C71ED #ED4CC2 #EDC84C #4CED78
square
#4C71ED #ED4CC2 #EDC84C #4CED78
split-complementary
#4C71ED #ED784C #C2ED4C
monochromatic
#1135AD #1746E5 #4C71ED #849DF3 #BBC9F8

Accessibility & contrast

On white

4.29
#4C71ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#4C71ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C71ED
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C71ED#FFFFFF#000000##000000
##4C71ED1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C82F1
Deuteranopia (green-blind)
#0073EA
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c71ed;
/* rgb */ color: rgb(76, 113, 237);
/* oklch */ color: oklch(58.9% 0.191 267.6);
Tailwind
colors: {
  custom: {
    50: '#9099f4',
    500: '#4c71ed',
    950: '#000000',
  },
}
SCSS
$custom: #4c71ed;
$custom-light: #9099f4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c71ed",
  "rgb": {
    "r": 76,
    "g": 113,
    "b": 237
  },
  "hsl": {
    "h": 226.211,
    "s": 81.726,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58943,
    "c": 0.19133,
    "h": 267.6
  },
  "luminance": 0.19461
}

Semantic roles & 50–950 ramp

primary
#4C71ED
secondary
#E8DBAC
accent
#AD07DE
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4C71ED

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

Preview Lab → · Contrast checker → · Palette generator →

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