#4772EA#4772EA

#4772EA is a mid, vivid blue. Relative luminance 0.193; OKLCH L 58.7% C 0.188 H 265.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4772EA
RGBrgb(71, 114, 234)
HSLhsl(224, 80%, 60%)
HSVhsv(224, 70%, 92%)
CMYKcmyk(69.7%, 51.3%, 0%, 8.2%)
CIE-LABlab(51.05, 24.64, -65.10)
CIE-LCHlch(51.05, 69.61, 290.73°)
OKLaboklab(58.69% -0.0133 -0.1871)
OKLCHoklch(58.69% 0.188 265.9)
XYZxyz(23.4619, 19.3123, 80.3171)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4772EA #EABF47
analogous
#47C3EA #4772EA #6E47EA
triadic
#4772EA #EA4772 #72EA47
tetradic
#4772EA #EA47C3 #EABF47 #47EA6E
square
#4772EA #EA47C3 #EABF47 #47EA6E
split-complementary
#4772EA #EA6E47 #C3EA47
monochromatic
#1339A4 #194CDB #4772EA #7E9CF0 #B5C6F7

Accessibility & contrast

On white

4.32
#4772EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#4772EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4772EA
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4772EA#FFFFFF#000000##000000
##4772EA1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2581EE
Deuteranopia (green-blind)
#0072E8
Tritanopia (blue-blind)
#008FA3
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #4772ea;
/* rgb */ color: rgb(71, 114, 234);
/* oklch */ color: oklch(58.7% 0.188 265.9);
Tailwind
colors: {
  custom: {
    50: '#8d9af1',
    500: '#4772ea',
    950: '#000000',
  },
}
SCSS
$custom: #4772ea;
$custom-light: #8d9af1;
$custom-dark: #000000;
JSON
{
  "hex": "#4772ea",
  "rgb": {
    "r": 71,
    "g": 114,
    "b": 234
  },
  "hsl": {
    "h": 224.172,
    "s": 79.512,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.18761,
    "h": 265.9
  },
  "luminance": 0.19315
}

Semantic roles & 50–950 ramp

primary
#4772EA
secondary
#E6D5A7
accent
#C232F6
background
#F9F9FE
surface
#F2F2FD
border
#CCCCD5
text
#0E0D17
muted
#7E7E85

Preview Lab

Preview with #4772EA

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

Preview Lab → · Contrast checker → · Palette generator →

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