#4C72DF#4C72DF

#4C72DF is a mid, vivid blue. Relative luminance 0.189; OKLCH L 58.2% C 0.171 H 266.6°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#4C72DF
RGBrgb(76, 114, 223)
HSLhsl(224, 70%, 59%)
HSVhsv(224, 66%, 87%)
CMYKcmyk(65.9%, 48.9%, 0%, 12.5%)
CIE-LABlab(50.57, 21.52, -59.69)
CIE-LCHlch(50.57, 63.45, 289.82°)
OKLaboklab(58.16% -0.0101 -0.1711)
OKLCHoklch(58.16% 0.171 266.6)
XYZxyz(22.3125, 18.8967, 72.2693)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C72DF #DFB94C
analogous
#4CBBDF #4C72DF #6F4CDF
triadic
#4C72DF #DF4C72 #72DF4C
tetradic
#4C72DF #DF4CBB #DFB94C #4CDF6F
square
#4C72DF #DF4CBB #DFB94C #4CDF6F
split-complementary
#4C72DF #DF6F4C #BBDF4C
monochromatic
#1B3B96 #244FCA #4C72DF #809BE8 #B4C4F2

Accessibility & contrast

On white

4.39
#4C72DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#4C72DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C72DF
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C72DF#FFFFFF#000000##000000
##4C72DF1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#367FE3
Deuteranopia (green-blind)
#0A72DD
Tritanopia (blue-blind)
#008B9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #4c72df;
/* rgb */ color: rgb(76, 114, 223);
/* oklch */ color: oklch(58.2% 0.171 266.6);
Tailwind
colors: {
  custom: {
    50: '#8d9aea',
    500: '#4c72df',
    950: '#000000',
  },
}
SCSS
$custom: #4c72df;
$custom-light: #8d9aea;
$custom-dark: #000000;
JSON
{
  "hex": "#4c72df",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 223
  },
  "hsl": {
    "h": 224.49,
    "s": 69.668,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58155,
    "c": 0.17142,
    "h": 266.6
  },
  "luminance": 0.18899
}

Semantic roles & 50–950 ramp

primary
#4C72DF
secondary
#E0D1A6
accent
#BF3BEC
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0D0E16
muted
#7E7E84

Preview Lab

Preview with #4C72DF

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

Preview Lab → · Contrast checker → · Palette generator →

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