#4770CC#4770CC

#4770CC is a mid, vivid blue. Relative luminance 0.173; OKLCH L 56.2% C 0.150 H 264.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#4770CC
RGBrgb(71, 112, 204)
HSLhsl(222, 57%, 54%)
HSVhsv(222, 65%, 80%)
CMYKcmyk(65.2%, 45.1%, 0%, 20%)
CIE-LABlab(48.62, 15.30, -52.04)
CIE-LCHlch(48.62, 54.24, 286.38°)
OKLaboklab(56.23% -0.0153 -0.1487)
OKLCHoklch(56.23% 0.15 264.1)
XYZxyz(19.2880, 17.2857, 59.4350)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4770CC #CCA347
analogous
#47B3CC #4770CC #6147CC
triadic
#4770CC #CC4770 #70CC47
tetradic
#4770CC #CC47B3 #CCA347 #47CC61
square
#4770CC #CC47B3 #CCA347 #47CC61
split-complementary
#4770CC #CC6147 #B3CC47
monochromatic
#213C77 #2E54A7 #4770CC #7795D9 #A7BAE7

Accessibility & contrast

On white

4.71
#4770CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#4770CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4770CC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4770CC#FFFFFF#000000##FFFFFF
##4770CC1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#437ACF
Deuteranopia (green-blind)
#2C6ECA
Tritanopia (blue-blind)
#008594
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4770cc;
/* rgb */ color: rgb(71, 112, 204);
/* oklch */ color: oklch(56.2% 0.150 264.1);
Tailwind
colors: {
  custom: {
    50: '#8798dc',
    500: '#4770cc',
    950: '#000000',
  },
}
SCSS
$custom: #4770cc;
$custom-light: #8798dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4770cc",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 204
  },
  "hsl": {
    "h": 221.504,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.14953,
    "h": 264.1
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#4770CC
secondary
#D4C29B
accent
#B148E0
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4770CC

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

Preview Lab → · Contrast checker → · Palette generator →

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