#4770BD#4770BD

#4770BD is a mid, vivid blue. Relative luminance 0.166; OKLCH L 55.3% C 0.129 H 261.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#4770BD
RGBrgb(71, 112, 189)
HSLhsl(219, 47%, 51%)
HSVhsv(219, 62%, 74%)
CMYKcmyk(62.4%, 40.7%, 0%, 25.9%)
CIE-LABlab(47.75, 10.06, -44.80)
CIE-LCHlch(47.75, 45.92, 282.65°)
OKLaboklab(55.28% -0.0181 -0.1275)
OKLCHoklch(55.28% 0.129 261.9)
XYZxyz(17.5748, 16.6005, 50.4123)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4770BD #BD9447
analogous
#47ABBD #4770BD #5947BD
triadic
#4770BD #BD4770 #70BD47
tetradic
#4770BD #BD47AB #BD9447 #47BD59
square
#4770BD #BD47AB #BD9447 #47BD59
split-complementary
#4770BD #BD5947 #ABBD47
monochromatic
#243B65 #345592 #4770BD #7493CD #A1B6DD

Accessibility & contrast

On white

4.86
#4770BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#4770BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4770BD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4770BD#FFFFFF#000000##FFFFFF
##4770BD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E77C0
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#00818D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #4770bd;
/* rgb */ color: rgb(71, 112, 189);
/* oklch */ color: oklch(55.3% 0.129 261.9);
Tailwind
colors: {
  custom: {
    50: '#8598d1',
    500: '#4770bd',
    950: '#000000',
  },
}
SCSS
$custom: #4770bd;
$custom-light: #8598d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4770bd",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 189
  },
  "hsl": {
    "h": 219.153,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55278,
    "c": 0.12878,
    "h": 261.9
  },
  "luminance": 0.16602
}

Semantic roles & 50–950 ramp

primary
#4770BD
secondary
#CAB896
accent
#A851D7
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0D14
muted
#7D7E82

Preview Lab

Preview with #4770BD

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

Preview Lab → · Contrast checker → · Palette generator →

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