#4772CF#4772CF

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

Color values

HEX#4772CF
RGBrgb(71, 114, 207)
HSLhsl(221, 59%, 55%)
HSVhsv(221, 66%, 81%)
CMYKcmyk(65.7%, 44.9%, 0%, 18.8%)
CIE-LABlab(49.35, 15.10, -52.59)
CIE-LCHlch(49.35, 54.71, 286.02°)
OKLaboklab(56.84% -0.0168 -0.1503)
OKLCHoklch(56.84% 0.151 263.6)
XYZxyz(19.8744, 17.8773, 61.4227)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4772CF #CFA447
analogous
#47B6CF #4772CF #6047CF
triadic
#4772CF #CF4772 #72CF47
tetradic
#4772CF #CF47B6 #CFA447 #47CF60
square
#4772CF #CF47B6 #CFA447 #47CF60
split-complementary
#4772CF #CF6047 #B6CF47
monochromatic
#203D7B #2D55AC #4772CF #7897DC #A8BCE8

Accessibility & contrast

On white

4.59
#4772CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#4772CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4772CF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4772CF#FFFFFF#000000##FFFFFF
##4772CF1.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)
#457CD3
Deuteranopia (green-blind)
#2D6FCD
Tritanopia (blue-blind)
#008796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4772cf;
/* rgb */ color: rgb(71, 114, 207);
/* oklch */ color: oklch(56.8% 0.151 263.6);
Tailwind
colors: {
  custom: {
    50: '#889ade',
    500: '#4772cf',
    950: '#000000',
  },
}
SCSS
$custom: #4772cf;
$custom-light: #889ade;
$custom-dark: #000000;
JSON
{
  "hex": "#4772cf",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 207
  },
  "hsl": {
    "h": 221.029,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56843,
    "c": 0.15125,
    "h": 263.6
  },
  "luminance": 0.17879
}

Semantic roles & 50–950 ramp

primary
#4772CF
secondary
#D6C39C
accent
#B146E2
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0D0E15
muted
#7D7E83

Preview Lab

Preview with #4772CF

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

Preview Lab → · Contrast checker → · Palette generator →

#4772CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva