#4780DD#4780DD

#4780DD is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.154 H 259.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4780DD
RGBrgb(71, 128, 221)
HSLhsl(217, 69%, 57%)
HSVhsv(217, 68%, 87%)
CMYKcmyk(67.9%, 42.1%, 0%, 13.3%)
CIE-LABlab(54.02, 11.39, -53.03)
CIE-LCHlch(54.02, 54.24, 282.12°)
OKLaboklab(60.71% -0.0275 -0.1514)
OKLCHoklch(60.71% 0.154 259.7)
XYZxyz(23.3642, 21.9960, 71.4069)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4780DD #DDA447
analogous
#47CBDD #4780DD #5947DD
triadic
#4780DD #DD4780 #80DD47
tetradic
#4780DD #DD47CB #DDA447 #47DD59
square
#4780DD #DD47CB #DDA447 #47DD59
split-complementary
#4780DD #DD5947 #CBDD47
monochromatic
#1A478F #2460C3 #4780DD #7BA4E7 #AEC7F0

Accessibility & contrast

On white

3.89
#4780DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4780DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4780DD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4780DD#FFFFFF#000000##000000
##4780DD1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5489E1
Deuteranopia (green-blind)
#3B7BDB
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4780dd;
/* rgb */ color: rgb(71, 128, 221);
/* oklch */ color: oklch(60.7% 0.154 259.7);
Tailwind
colors: {
  custom: {
    50: '#8aa4e8',
    500: '#4780dd',
    950: '#000000',
  },
}
SCSS
$custom: #4780dd;
$custom-light: #8aa4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4780dd",
  "rgb": {
    "r": 71,
    "g": 128,
    "b": 221
  },
  "hsl": {
    "h": 217.2,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.1539,
    "h": 259.7
  },
  "luminance": 0.21998
}

Semantic roles & 50–950 ramp

primary
#4780DD
secondary
#DEC7A2
accent
#A93CEC
background
#F9FAFE
surface
#F1F3FD
border
#CBCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4780DD

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

Preview Lab → · Contrast checker → · Palette generator →

#4780DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva