#4774BA#4774BA

#4774BA is a mid, vivid blue. Relative luminance 0.174; OKLCH L 56.0% C 0.120 H 258.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#4774BA
RGBrgb(71, 116, 186)
HSLhsl(217, 45%, 50%)
HSVhsv(217, 62%, 73%)
CMYKcmyk(61.8%, 37.6%, 0%, 27.1%)
CIE-LABlab(48.73, 6.55, -41.52)
CIE-LCHlch(48.73, 42.04, 278.96°)
OKLaboklab(55.98% -0.023 -0.1178)
OKLCHoklch(55.98% 0.12 258.9)
XYZxyz(17.7037, 17.3739, 48.8654)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4774BA #BA8D47
analogous
#47ADBA #4774BA #5347BA
triadic
#4774BA #BA4774 #74BA47
tetradic
#4774BA #BA47AD #BA8D47 #47BA53
square
#4774BA #BA47AD #BA8D47 #47BA53
split-complementary
#4774BA #BA5347 #ADBA47
monochromatic
#253D62 #35588E #4774BA #7496CB #A0B7DB

Accessibility & contrast

On white

4.69
#4774BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#4774BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4774BA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4774BA#FFFFFF#000000##FFFFFF
##4774BA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#567ABD
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#00848E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #4774ba;
/* rgb */ color: rgb(71, 116, 186);
/* oklch */ color: oklch(56.0% 0.120 258.9);
Tailwind
colors: {
  custom: {
    50: '#849bcf',
    500: '#4774ba',
    950: '#000000',
  },
}
SCSS
$custom: #4774ba;
$custom-light: #849bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4774ba",
  "rgb": {
    "r": 71,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 216.522,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55981,
    "c": 0.12007,
    "h": 258.9
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

primary
#4774BA
secondary
#C8B495
accent
#A253D5
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0E14
muted
#7D7E82

Preview Lab

Preview with #4774BA

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

Preview Lab → · Contrast checker → · Palette generator →

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