#4770DC#4770DC

#4770DC is a mid, vivid blue. Relative luminance 0.181; OKLCH L 57.3% C 0.171 H 265.6°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#4770DC
RGBrgb(71, 112, 220)
HSLhsl(223, 68%, 57%)
HSVhsv(223, 68%, 86%)
CMYKcmyk(67.7%, 49.1%, 0%, 13.7%)
CIE-LABlab(49.61, 20.94, -59.55)
CIE-LCHlch(49.61, 63.12, 289.37°)
OKLaboklab(57.3% -0.0131 -0.1708)
OKLCHoklch(57.3% 0.171 265.6)
XYZxyz(21.3065, 18.0931, 70.0657)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4770DC #DCB347
analogous
#47BBDC #4770DC #6947DC
triadic
#4770DC #DC4770 #70DC47
tetradic
#4770DC #DC47BB #DCB347 #47DC69
square
#4770DC #DC47BB #DCB347 #47DC69
split-complementary
#4770DC #DC6947 #BBDC47
monochromatic
#1B3B8E #2550C1 #4770DC #7A98E6 #AEC0F0

Accessibility & contrast

On white

4.55
#4770DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#4770DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4770DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4770DC#FFFFFF#000000##000000
##4770DC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#337DE0
Deuteranopia (green-blind)
#0070DA
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4770dc;
/* rgb */ color: rgb(71, 112, 220);
/* oklch */ color: oklch(57.3% 0.171 265.6);
Tailwind
colors: {
  custom: {
    50: '#8a98e7',
    500: '#4770dc',
    950: '#000000',
  },
}
SCSS
$custom: #4770dc;
$custom-light: #8a98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4770dc",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 220
  },
  "hsl": {
    "h": 223.49,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57301,
    "c": 0.17133,
    "h": 265.6
  },
  "luminance": 0.18095
}

Semantic roles & 50–950 ramp

primary
#4770DC
secondary
#DECDA1
accent
#BB3DEB
background
#F9F9FE
surface
#F1F2FD
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4770DC

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

Preview Lab → · Contrast checker → · Palette generator →

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