#4C72EB#4C72EB

#4C72EB is a mid, vivid blue. Relative luminance 0.196; OKLCH L 59.0% C 0.187 H 267.3°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#4C72EB
RGBrgb(76, 114, 235)
HSLhsl(226, 80%, 61%)
HSVhsv(226, 68%, 92%)
CMYKcmyk(67.7%, 51.5%, 0%, 7.8%)
CIE-LABlab(51.34, 25.70, -65.18)
CIE-LCHlch(51.34, 70.06, 291.52°)
OKLaboklab(58.99% -0.0089 -0.1873)
OKLCHoklch(58.99% 0.187 267.3)
XYZxyz(23.9880, 19.5669, 81.0938)
Luminance0.1957 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C72EB #EBC54C
analogous
#4CC2EB #4C72EB #754CEB
triadic
#4C72EB #EB4C72 #72EB4C
tetradic
#4C72EB #EB4CC2 #EBC54C #4CEB75
square
#4C72EB #EB4CC2 #EBC54C #4CEB75
split-complementary
#4C72EB #EB754C #C2EB4C
monochromatic
#1337AA #1949E1 #4C72EB #839DF1 #BAC9F7

Accessibility & contrast

On white

4.27
#4C72EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#4C72EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C72EB
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C72EB#FFFFFF#000000##000000
##4C72EB1.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2482EF
Deuteranopia (green-blind)
#0073E9
Tritanopia (blue-blind)
#008FA4
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4c72eb;
/* rgb */ color: rgb(76, 114, 235);
/* oklch */ color: oklch(59.0% 0.187 267.3);
Tailwind
colors: {
  custom: {
    50: '#8f9af2',
    500: '#4c72eb',
    950: '#000000',
  },
}
SCSS
$custom: #4c72eb;
$custom-light: #8f9af2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c72eb",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 235
  },
  "hsl": {
    "h": 225.66,
    "s": 79.899,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58994,
    "c": 0.18748,
    "h": 267.3
  },
  "luminance": 0.19569
}

Semantic roles & 50–950 ramp

primary
#4C72EB
secondary
#E7D9AB
accent
#AA09DC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C72EB

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

Preview Lab → · Contrast checker → · Palette generator →

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