#4781D8#4781D8

#4781D8 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.6% C 0.146 H 258.4°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4781D8
RGBrgb(71, 129, 216)
HSLhsl(216, 65%, 56%)
HSVhsv(216, 67%, 85%)
CMYKcmyk(67.1%, 40.3%, 0%, 15.3%)
CIE-LABlab(54.02, 9.03, -50.22)
CIE-LCHlch(54.02, 51.03, 280.19°)
OKLaboklab(60.62% -0.0295 -0.1431)
OKLCHoklch(60.62% 0.146 258.4)
XYZxyz(22.8390, 21.9957, 67.9944)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781D8 #D89E47
analogous
#47CAD8 #4781D8 #5647D8
triadic
#4781D8 #D84781 #81D847
tetradic
#4781D8 #D847CA #D89E47 #47D856
square
#4781D8 #D847CA #D89E47 #47D856
split-complementary
#4781D8 #D85647 #CAD847
monochromatic
#1D4888 #2762BA #4781D8 #79A4E3 #ACC6ED

Accessibility & contrast

On white

3.89
#4781D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4781D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781D8
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781D8#FFFFFF#000000##000000
##4781D81.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)
#5988DB
Deuteranopia (green-blind)
#437BD6
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4781d8;
/* rgb */ color: rgb(71, 129, 216);
/* oklch */ color: oklch(60.6% 0.146 258.4);
Tailwind
colors: {
  custom: {
    50: '#89a5e4',
    500: '#4781d8',
    950: '#000000',
  },
}
SCSS
$custom: #4781d8;
$custom-light: #89a5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4781d8",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 216
  },
  "hsl": {
    "h": 216,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60619,
    "c": 0.14615,
    "h": 258.4
  },
  "luminance": 0.21998
}

Semantic roles & 50–950 ramp

primary
#4781D8
secondary
#DBC3A0
accent
#A540E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4781D8

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

Preview Lab → · Contrast checker → · Palette generator →

#4781D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva