#4785DC#4785DC

#4785DC is a mid, vivid blue. Relative luminance 0.233; OKLCH L 61.7% C 0.147 H 257.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4785DC
RGBrgb(71, 133, 220)
HSLhsl(215, 68%, 57%)
HSVhsv(215, 68%, 86%)
CMYKcmyk(67.7%, 39.5%, 0%, 13.7%)
CIE-LABlab(55.36, 8.01, -50.34)
CIE-LCHlch(55.36, 50.98, 279.04°)
OKLaboklab(61.73% -0.0324 -0.1434)
OKLCHoklch(61.73% 0.147 257.3)
XYZxyz(23.8997, 23.2795, 70.9301)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4785DC #DC9E47
analogous
#47CFDC #4785DC #5447DC
triadic
#4785DC #DC4785 #85DC47
tetradic
#4785DC #DC47CF #DC9E47 #47DC54
square
#4785DC #DC47CF #DC9E47 #47DC54
split-complementary
#4785DC #DC5447 #CFDC47
monochromatic
#1B4B8E #2566C1 #4785DC #7AA7E6 #AEC9F0

Accessibility & contrast

On white

3.71
#4785DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4785DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4785DC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4785DC#FFFFFF#000000##000000
##4785DC1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8CDF
Deuteranopia (green-blind)
#467EDA
Tritanopia (blue-blind)
#0099A6
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4785dc;
/* rgb */ color: rgb(71, 133, 220);
/* oklch */ color: oklch(61.7% 0.147 257.3);
Tailwind
colors: {
  custom: {
    50: '#8aa8e7',
    500: '#4785dc',
    950: '#000000',
  },
}
SCSS
$custom: #4785dc;
$custom-light: #8aa8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#4785dc",
  "rgb": {
    "r": 71,
    "g": 133,
    "b": 220
  },
  "hsl": {
    "h": 215.034,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61727,
    "c": 0.14707,
    "h": 257.3
  },
  "luminance": 0.23282
}

Semantic roles & 50–950 ramp

primary
#4785DC
secondary
#DEC4A1
accent
#A23DEB
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4785DC

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

Preview Lab → · Contrast checker → · Palette generator →

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