#4772BA#4772BA

#4772BA is a mid, vivid blue. Relative luminance 0.169; OKLCH L 55.5% C 0.122 H 260.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#4772BA
RGBrgb(71, 114, 186)
HSLhsl(218, 45%, 50%)
HSVhsv(218, 62%, 73%)
CMYKcmyk(61.8%, 38.7%, 0%, 27.1%)
CIE-LABlab(48.16, 7.78, -42.43)
CIE-LCHlch(48.16, 43.14, 280.39°)
OKLaboklab(55.54% -0.0209 -0.1205)
OKLCHoklch(55.54% 0.122 260.2)
XYZxyz(17.4757, 16.9178, 48.7894)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4772BA #BA8F47
analogous
#47ACBA #4772BA #5547BA
triadic
#4772BA #BA4772 #72BA47
tetradic
#4772BA #BA47AC #BA8F47 #47BA55
square
#4772BA #BA47AC #BA8F47 #47BA55
split-complementary
#4772BA #BA5547 #ACBA47
monochromatic
#253C62 #35578E #4772BA #7494CB #A0B6DB

Accessibility & contrast

On white

4.79
#4772BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#4772BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4772BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4772BA#FFFFFF#000000##FFFFFF
##4772BA1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5378BD
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#00828D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #4772ba;
/* rgb */ color: rgb(71, 114, 186);
/* oklch */ color: oklch(55.5% 0.122 260.2);
Tailwind
colors: {
  custom: {
    50: '#849acf',
    500: '#4772ba',
    950: '#000000',
  },
}
SCSS
$custom: #4772ba;
$custom-light: #849acf;
$custom-dark: #000000;
JSON
{
  "hex": "#4772ba",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 186
  },
  "hsl": {
    "h": 217.565,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55537,
    "c": 0.12232,
    "h": 260.2
  },
  "luminance": 0.16919
}

Semantic roles & 50–950 ramp

primary
#4772BA
secondary
#C8B595
accent
#A453D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4772BA

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

Preview Lab → · Contrast checker → · Palette generator →

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