#4770BB#4770BB

#4770BB is a mid, vivid blue. Relative luminance 0.165; OKLCH L 55.2% C 0.126 H 261.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#4770BB
RGBrgb(71, 112, 187)
HSLhsl(219, 46%, 51%)
HSVhsv(219, 62%, 73%)
CMYKcmyk(62%, 40.1%, 0%, 26.7%)
CIE-LABlab(47.64, 9.36, -43.83)
CIE-LCHlch(47.64, 44.81, 282.06°)
OKLaboklab(55.16% -0.0186 -0.1246)
OKLCHoklch(55.16% 0.126 261.5)
XYZxyz(17.3592, 16.5142, 49.2768)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4770BB #BB9247
analogous
#47AABB #4770BB #5847BB
triadic
#4770BB #BB4770 #70BB47
tetradic
#4770BB #BB47AA #BB9247 #47BB58
square
#4770BB #BB47AA #BB9247 #47BB58
split-complementary
#4770BB #BB5847 #AABB47
monochromatic
#253B63 #355590 #4770BB #7493CC #A0B5DC

Accessibility & contrast

On white

4.88
#4770BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#4770BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4770BB
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4770BB#FFFFFF#000000##FFFFFF
##4770BB1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F77BE
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#00818C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4770bb;
/* rgb */ color: rgb(71, 112, 187);
/* oklch */ color: oklch(55.2% 0.126 261.5);
Tailwind
colors: {
  custom: {
    50: '#8598d0',
    500: '#4770bb',
    950: '#000000',
  },
}
SCSS
$custom: #4770bb;
$custom-light: #8598d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4770bb",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 187
  },
  "hsl": {
    "h": 218.793,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55157,
    "c": 0.126,
    "h": 261.5
  },
  "luminance": 0.16516
}

Semantic roles & 50–950 ramp

primary
#4770BB
secondary
#C9B695
accent
#A752D6
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4770BB

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

Preview Lab → · Contrast checker → · Palette generator →

#4770BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva