#4772CA#4772CA

#4772CA is a mid, vivid blue. Relative luminance 0.176; OKLCH L 56.5% C 0.144 H 263.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#4772CA
RGBrgb(71, 114, 202)
HSLhsl(220, 55%, 54%)
HSVhsv(220, 65%, 79%)
CMYKcmyk(64.9%, 43.6%, 0%, 20.8%)
CIE-LABlab(49.05, 13.35, -50.20)
CIE-LCHlch(49.05, 51.95, 284.89°)
OKLaboklab(56.52% -0.0176 -0.1433)
OKLCHoklch(56.52% 0.144 263)
XYZxyz(19.2728, 17.6367, 58.2542)
Luminance0.1764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4772CA #CA9F47
analogous
#47B3CA #4772CA #5D47CA
triadic
#4772CA #CA4772 #72CA47
tetradic
#4772CA #CA47B3 #CA9F47 #47CA5D
square
#4772CA #CA47B3 #CA9F47 #47CA5D
split-complementary
#4772CA #CA5D47 #B3CA47
monochromatic
#223D75 #2F56A4 #4772CA #7796D8 #A6BBE5

Accessibility & contrast

On white

4.64
#4772CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#4772CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #4772CA
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4772CA#FFFFFF#000000##FFFFFF
##4772CA1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#497BCD
Deuteranopia (green-blind)
#336FC8
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #4772ca;
/* rgb */ color: rgb(71, 114, 202);
/* oklch */ color: oklch(56.5% 0.144 263.0);
Tailwind
colors: {
  custom: {
    50: '#879adb',
    500: '#4772ca',
    950: '#000000',
  },
}
SCSS
$custom: #4772ca;
$custom-light: #879adb;
$custom-dark: #000000;
JSON
{
  "hex": "#4772ca",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 202
  },
  "hsl": {
    "h": 220.305,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56521,
    "c": 0.14439,
    "h": 263
  },
  "luminance": 0.17638
}

Semantic roles & 50–950 ramp

primary
#4772CA
secondary
#D2C09A
accent
#AE49DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0E15
muted
#7D7E83

Preview Lab

Preview with #4772CA

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

Preview Lab → · Contrast checker → · Palette generator →

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