#4C81D5#4C81D5

#4C81D5 is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.7% C 0.140 H 259.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4C81D5
RGBrgb(76, 129, 213)
HSLhsl(217, 62%, 57%)
HSVhsv(217, 64%, 84%)
CMYKcmyk(64.3%, 39.4%, 0%, 16.5%)
CIE-LABlab(54.07, 8.82, -48.44)
CIE-LCHlch(54.07, 49.24, 280.32°)
OKLaboklab(60.66% -0.0262 -0.1379)
OKLCHoklch(60.66% 0.14 259.2)
XYZxyz(22.8367, 22.0389, 65.9883)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81D5 #D5A04C
analogous
#4CC6D5 #4C81D5 #5C4CD5
triadic
#4C81D5 #D54C81 #81D54C
tetradic
#4C81D5 #D54CC6 #D5A04C #4CD55C
square
#4C81D5 #D54CC6 #D5A04C #4CD55C
split-complementary
#4C81D5 #D55C4C #C6D54C
monochromatic
#204887 #2B62B9 #4C81D5 #7EA4E1 #AFC7EC

Accessibility & contrast

On white

3.88
#4C81D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4C81D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81D5
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81D5#FFFFFF#000000##000000
##4C81D51.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)
#5B88D8
Deuteranopia (green-blind)
#477BD3
Tritanopia (blue-blind)
#0094A1
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c81d5;
/* rgb */ color: rgb(76, 129, 213);
/* oklch */ color: oklch(60.7% 0.140 259.2);
Tailwind
colors: {
  custom: {
    50: '#8ba5e2',
    500: '#4c81d5',
    950: '#000000',
  },
}
SCSS
$custom: #4c81d5;
$custom-light: #8ba5e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81d5",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 213
  },
  "hsl": {
    "h": 216.788,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.60659,
    "c": 0.14032,
    "h": 259.2
  },
  "luminance": 0.22041
}

Semantic roles & 50–950 ramp

primary
#4C81D5
secondary
#DAC5A2
accent
#A643E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C81D5

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

Preview Lab → · Contrast checker → · Palette generator →

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