#4C72EF#4C72EF

#4C72EF is a mid, vivid blue. Relative luminance 0.198; OKLCH L 59.3% C 0.193 H 267.5°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#4C72EF
RGBrgb(76, 114, 239)
HSLhsl(226, 84%, 62%)
HSVhsv(226, 68%, 94%)
CMYKcmyk(68.2%, 52.3%, 0%, 6.3%)
CIE-LABlab(51.61, 27.09, -66.98)
CIE-LCHlch(51.61, 72.26, 292.02°)
OKLaboklab(59.28% -0.0085 -0.1926)
OKLCHoklch(59.28% 0.193 267.5)
XYZxyz(24.5724, 19.8007, 84.1716)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C72EF #EFC94C
analogous
#4CC4EF #4C72EF #784CEF
triadic
#4C72EF #EF4C72 #72EF4C
tetradic
#4C72EF #EF4CC4 #EFC94C #4CEF78
square
#4C72EF #EF4CC4 #EFC94C #4CEF78
split-complementary
#4C72EF #EF784C #C4EF4C
monochromatic
#1035B1 #1546E9 #4C72EF #849EF4 #BCCBF9

Accessibility & contrast

On white

4.23
#4C72EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#4C72EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C72EF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C72EF#FFFFFF#000000##000000
##4C72EF1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C83F3
Deuteranopia (green-blind)
#0074EC
Tritanopia (blue-blind)
#0090A6
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4c72ef;
/* rgb */ color: rgb(76, 114, 239);
/* oklch */ color: oklch(59.3% 0.193 267.5);
Tailwind
colors: {
  custom: {
    50: '#909af5',
    500: '#4c72ef',
    950: '#000000',
  },
}
SCSS
$custom: #4c72ef;
$custom-light: #909af5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c72ef",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 239
  },
  "hsl": {
    "h": 226.012,
    "s": 83.59,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59281,
    "c": 0.19277,
    "h": 267.5
  },
  "luminance": 0.19803
}

Semantic roles & 50–950 ramp

primary
#4C72EF
secondary
#EADCAD
accent
#AD05E0
background
#F9F9FF
surface
#F2F2FE
border
#CCCCD6
text
#0E0E17
muted
#7E7E85

Preview Lab

Preview with #4C72EF

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

Preview Lab → · Contrast checker → · Palette generator →

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