#4C81D9#4C81D9

#4C81D9 is a mid, vivid blue. Relative luminance 0.222; OKLCH L 60.9% C 0.146 H 260.0°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#4C81D9
RGBrgb(76, 129, 217)
HSLhsl(217, 65%, 57%)
HSVhsv(217, 65%, 85%)
CMYKcmyk(65%, 40.6%, 0%, 14.9%)
CIE-LABlab(54.29, 10.20, -50.35)
CIE-LCHlch(54.29, 51.38, 281.45°)
OKLaboklab(60.9% -0.0253 -0.1435)
OKLCHoklch(60.9% 0.146 260)
XYZxyz(23.3507, 22.2445, 68.6952)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81D9 #D9A44C
analogous
#4CC7D9 #4C81D9 #5E4CD9
triadic
#4C81D9 #D94C81 #81D94C
tetradic
#4C81D9 #D94CC7 #D9A44C #4CD95E
square
#4C81D9 #D94CC7 #D9A44C #4CD95E
split-complementary
#4C81D9 #D95E4C #C7D94C
monochromatic
#1E488D #2961BF #4C81D9 #7EA5E4 #B1C8EE

Accessibility & contrast

On white

3.85
#4C81D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#4C81D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81D9
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81D9#FFFFFF#000000##000000
##4C81D91.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5989DC
Deuteranopia (green-blind)
#447CD7
Tritanopia (blue-blind)
#0095A2
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c81d9;
/* rgb */ color: rgb(76, 129, 217);
/* oklch */ color: oklch(60.9% 0.146 260.0);
Tailwind
colors: {
  custom: {
    50: '#8ba5e5',
    500: '#4c81d9',
    950: '#000000',
  },
}
SCSS
$custom: #4c81d9;
$custom-light: #8ba5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81d9",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 217
  },
  "hsl": {
    "h": 217.447,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.60898,
    "c": 0.14568,
    "h": 260
  },
  "luminance": 0.22247
}

Semantic roles & 50–950 ramp

primary
#4C81D9
secondary
#DDC7A4
accent
#A940E8
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4C81D9

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

Preview Lab → · Contrast checker → · Palette generator →

#4C81D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva