#4C72CB#4C72CB

#4C72CB is a mid, vivid blue. Relative luminance 0.179; OKLCH L 56.8% C 0.144 H 264.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#4C72CB
RGBrgb(76, 114, 203)
HSLhsl(222, 55%, 55%)
HSVhsv(222, 63%, 80%)
CMYKcmyk(62.6%, 43.8%, 0%, 20.4%)
CIE-LABlab(49.35, 14.58, -50.28)
CIE-LCHlch(49.35, 52.35, 286.17°)
OKLaboklab(56.84% -0.013 -0.1435)
OKLCHoklch(56.84% 0.144 264.8)
XYZxyz(19.7736, 17.8812, 58.8977)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C72CB #CBA54C
analogous
#4CB2CB #4C72CB #664CCB
triadic
#4C72CB #CB4C72 #72CB4C
tetradic
#4C72CB #CB4CB2 #CBA54C #4CCB66
square
#4C72CB #CB4CB2 #CBA54C #4CCB66
split-complementary
#4C72CB #CB664C #B2CB4C
monochromatic
#233D79 #3155A9 #4C72CB #7B97D9 #ABBDE7

Accessibility & contrast

On white

4.59
#4C72CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4C72CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4C72CB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C72CB#FFFFFF#000000##FFFFFF
##4C72CB1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497CCE
Deuteranopia (green-blind)
#3570C9
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4c72cb;
/* rgb */ color: rgb(76, 114, 203);
/* oklch */ color: oklch(56.8% 0.144 264.8);
Tailwind
colors: {
  custom: {
    50: '#8a9adb',
    500: '#4c72cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c72cb;
$custom-light: #8a9adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c72cb",
  "rgb": {
    "r": 76,
    "g": 114,
    "b": 203
  },
  "hsl": {
    "h": 222.047,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56835,
    "c": 0.14405,
    "h": 264.8
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#4C72CB
secondary
#D4C49F
accent
#B249DE
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4C72CB

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

Preview Lab → · Contrast checker → · Palette generator →

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