#4770AB#4770AB

#4770AB is a mid, moderate blue. Relative luminance 0.159; OKLCH L 54.2% C 0.104 H 257.5°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#4770AB
RGBrgb(71, 112, 171)
HSLhsl(215, 41%, 47%)
HSVhsv(215, 58%, 67%)
CMYKcmyk(58.5%, 34.5%, 0%, 32.9%)
CIE-LABlab(46.80, 3.89, -35.86)
CIE-LCHlch(46.80, 36.07, 276.19°)
OKLaboklab(54.23% -0.0224 -0.1013)
OKLCHoklch(54.23% 0.104 257.5)
XYZxyz(15.7408, 15.8669, 40.7533)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4770AB #AB8247
analogous
#47A2AB #4770AB #5047AB
triadic
#4770AB #AB4770 #70AB47
tetradic
#4770AB #AB47A2 #AB8247 #47AB50
square
#4770AB #AB47A2 #AB8247 #47AB50
split-complementary
#4770AB #AB5047 #A2AB47
monochromatic
#233755 #355480 #4770AB #6D90C2 #98B1D4

Accessibility & contrast

On white

5.03
#4770AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#4770AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4770AB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4770AB#FFFFFF#000000##FFFFFF
##4770AB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5874AD
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#007D85
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #4770ab;
/* rgb */ color: rgb(71, 112, 171);
/* oklch */ color: oklch(54.2% 0.104 257.5);
Tailwind
colors: {
  custom: {
    50: '#8298c4',
    500: '#4770ab',
    950: '#000000',
  },
}
SCSS
$custom: #4770ab;
$custom-light: #8298c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4770ab",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 171
  },
  "hsl": {
    "h": 215.4,
    "s": 41.322,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.10379,
    "h": 257.5
  },
  "luminance": 0.15868
}

Semantic roles & 50–950 ramp

primary
#4770AB
secondary
#C0AB8D
accent
#9F57D1
background
#F8F9FC
surface
#EFF2F8
border
#CACCD1
text
#0B0D12
muted
#7C7E81

Preview Lab

Preview with #4770AB

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

Preview Lab → · Contrast checker → · Palette generator →

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