#4781D9#4781D9

#4781D9 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.7% C 0.147 H 258.6°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4781D9
RGBrgb(71, 129, 217)
HSLhsl(216, 66%, 56%)
HSVhsv(216, 67%, 85%)
CMYKcmyk(67.3%, 40.6%, 0%, 14.9%)
CIE-LABlab(54.08, 9.38, -50.70)
CIE-LCHlch(54.08, 51.56, 280.48°)
OKLaboklab(60.68% -0.0292 -0.1446)
OKLCHoklch(60.68% 0.147 258.6)
XYZxyz(22.9687, 22.0475, 68.6773)
Luminance0.2205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4781D9 #D99F47
analogous
#47CAD9 #4781D9 #5647D9
triadic
#4781D9 #D94781 #81D947
tetradic
#4781D9 #D947CA #D99F47 #47D956
square
#4781D9 #D947CA #D99F47 #47D956
split-complementary
#4781D9 #D95647 #CAD947
monochromatic
#1C4889 #2762BC #4781D9 #7AA4E3 #ACC6EE

Accessibility & contrast

On white

3.88
#4781D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4781D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4781D9
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4781D9#FFFFFF#000000##000000
##4781D91.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5889DC
Deuteranopia (green-blind)
#427BD7
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4781d9;
/* rgb */ color: rgb(71, 129, 217);
/* oklch */ color: oklch(60.7% 0.147 258.6);
Tailwind
colors: {
  custom: {
    50: '#89a5e5',
    500: '#4781d9',
    950: '#000000',
  },
}
SCSS
$custom: #4781d9;
$custom-light: #89a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4781d9",
  "rgb": {
    "r": 71,
    "g": 129,
    "b": 217
  },
  "hsl": {
    "h": 216.164,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60679,
    "c": 0.14748,
    "h": 258.6
  },
  "luminance": 0.2205
}

Semantic roles & 50–950 ramp

primary
#4781D9
secondary
#DCC4A0
accent
#A53FE9
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4781D9

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

Preview Lab → · Contrast checker → · Palette generator →

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