#4770DB#4770DB

#4770DB is a mid, vivid blue. Relative luminance 0.180; OKLCH L 57.2% C 0.170 H 265.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#4770DB
RGBrgb(71, 112, 219)
HSLhsl(223, 67%, 57%)
HSVhsv(223, 68%, 86%)
CMYKcmyk(67.6%, 48.9%, 0%, 14.1%)
CIE-LABlab(49.55, 20.58, -59.09)
CIE-LCHlch(49.55, 62.57, 289.21°)
OKLaboklab(57.23% -0.0132 -0.1695)
OKLCHoklch(57.23% 0.17 265.6)
XYZxyz(21.1744, 18.0403, 69.3703)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4770DB #DBB247
analogous
#47BADB #4770DB #6847DB
triadic
#4770DB #DB4770 #70DB47
tetradic
#4770DB #DB47BA #DBB247 #47DB68
square
#4770DB #DB47BA #DBB247 #47DB68
split-complementary
#4770DB #DB6847 #BADB47
monochromatic
#1B3B8C #2550BF #4770DB #7A98E5 #ADC0EF

Accessibility & contrast

On white

4.56
#4770DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#4770DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4770DB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4770DB#FFFFFF#000000##000000
##4770DB1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDF
Deuteranopia (green-blind)
#046FD9
Tritanopia (blue-blind)
#00899B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #4770db;
/* rgb */ color: rgb(71, 112, 219);
/* oklch */ color: oklch(57.2% 0.170 265.6);
Tailwind
colors: {
  custom: {
    50: '#8a98e7',
    500: '#4770db',
    950: '#000000',
  },
}
SCSS
$custom: #4770db;
$custom-light: #8a98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4770db",
  "rgb": {
    "r": 71,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 223.378,
    "s": 67.273,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57232,
    "c": 0.16997,
    "h": 265.6
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#4770DB
secondary
#DDCCA1
accent
#BA3EEA
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0D16
muted
#7E7E84

Preview Lab

Preview with #4770DB

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

Preview Lab → · Contrast checker → · Palette generator →

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