#4770CB#4770CB

#4770CB is a mid, vivid blue. Relative luminance 0.172; OKLCH L 56.2% C 0.148 H 264.0°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#4770CB
RGBrgb(71, 112, 203)
HSLhsl(221, 56%, 54%)
HSVhsv(221, 65%, 80%)
CMYKcmyk(65%, 44.8%, 0%, 20.4%)
CIE-LABlab(48.56, 14.95, -51.57)
CIE-LCHlch(48.56, 53.69, 286.16°)
OKLaboklab(56.16% -0.0155 -0.1473)
OKLCHoklch(56.16% 0.148 264)
XYZxyz(19.1684, 17.2379, 58.8054)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4770CB #CBA247
analogous
#47B2CB #4770CB #6047CB
triadic
#4770CB #CB4770 #70CB47
tetradic
#4770CB #CB47B2 #CBA247 #47CB60
square
#4770CB #CB47B2 #CBA247 #47CB60
split-complementary
#4770CB #CB6047 #B2CB47
monochromatic
#213C76 #2F54A6 #4770CB #7795D8 #A6BAE6

Accessibility & contrast

On white

4.72
#4770CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#4770CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4770CB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4770CB#FFFFFF#000000##FFFFFF
##4770CB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#447ACE
Deuteranopia (green-blind)
#2D6EC9
Tritanopia (blue-blind)
#008593
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #4770cb;
/* rgb */ color: rgb(71, 112, 203);
/* oklch */ color: oklch(56.2% 0.148 264.0);
Tailwind
colors: {
  custom: {
    50: '#8798db',
    500: '#4770cb',
    950: '#000000',
  },
}
SCSS
$custom: #4770cb;
$custom-light: #8798db;
$custom-dark: #000000;
JSON
{
  "hex": "#4770cb",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 203
  },
  "hsl": {
    "h": 221.364,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5616,
    "c": 0.14815,
    "h": 264
  },
  "luminance": 0.1724
}

Semantic roles & 50–950 ramp

primary
#4770CB
secondary
#D3C29B
accent
#B049DF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #4770CB

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

Preview Lab → · Contrast checker → · Palette generator →

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