#4772DC#4772DC

#4772DC is a mid, vivid blue. Relative luminance 0.185; OKLCH L 57.7% C 0.169 H 265.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4772DC
RGBrgb(71, 114, 220)
HSLhsl(223, 68%, 57%)
HSVhsv(223, 68%, 86%)
CMYKcmyk(67.7%, 48.2%, 0%, 13.7%)
CIE-LABlab(50.14, 19.69, -58.69)
CIE-LCHlch(50.14, 61.90, 288.55°)
OKLaboklab(57.71% -0.0148 -0.1683)
OKLCHoklch(57.71% 0.169 265)
XYZxyz(21.5296, 18.5394, 70.1401)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4772DC #DCB147
analogous
#47BCDC #4772DC #6747DC
triadic
#4772DC #DC4772 #72DC47
tetradic
#4772DC #DC47BC #DCB147 #47DC67
square
#4772DC #DC47BC #DCB147 #47DC67
split-complementary
#4772DC #DC6747 #BCDC47
monochromatic
#1B3C8E #2552C1 #4772DC #7A99E6 #AEC1F0

Accessibility & contrast

On white

4.46
#4772DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#4772DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4772DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4772DC#FFFFFF#000000##000000
##4772DC1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#387FE0
Deuteranopia (green-blind)
#0F71DA
Tritanopia (blue-blind)
#008B9C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #4772dc;
/* rgb */ color: rgb(71, 114, 220);
/* oklch */ color: oklch(57.7% 0.169 265.0);
Tailwind
colors: {
  custom: {
    50: '#8a9ae7',
    500: '#4772dc',
    950: '#000000',
  },
}
SCSS
$custom: #4772dc;
$custom-light: #8a9ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#4772dc",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 220
  },
  "hsl": {
    "h": 222.685,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.16891,
    "h": 265
  },
  "luminance": 0.18542
}

Semantic roles & 50–950 ramp

primary
#4772DC
secondary
#DECCA1
accent
#B93DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4772DC

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

Preview Lab → · Contrast checker → · Palette generator →

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