#4C81D0#4C81D0

#4C81D0 is a mid, vivid blue. Relative luminance 0.218; OKLCH L 60.4% C 0.134 H 258.2°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#4C81D0
RGBrgb(76, 129, 208)
HSLhsl(216, 58%, 56%)
HSVhsv(216, 63%, 82%)
CMYKcmyk(63.5%, 38%, 0%, 18.4%)
CIE-LABlab(53.80, 7.11, -46.04)
CIE-LCHlch(53.80, 46.59, 278.77°)
OKLaboklab(60.37% -0.0273 -0.1308)
OKLCHoklch(60.37% 0.134 258.2)
XYZxyz(22.2119, 21.7890, 62.6974)
Luminance0.2179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81D0 #D09B4C
analogous
#4CC3D0 #4C81D0 #594CD0
triadic
#4C81D0 #D04C81 #81D04C
tetradic
#4C81D0 #D04CC3 #D09B4C #4CD059
square
#4C81D0 #D04CC3 #D09B4C #4CD059
split-complementary
#4C81D0 #D0594C #C3D04C
monochromatic
#224880 #2E63B0 #4C81D0 #7CA3DD #ADC5E9

Accessibility & contrast

On white

3.92
#4C81D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#4C81D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81D0
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81D0#FFFFFF#000000##000000
##4C81D01.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E87D3
Deuteranopia (green-blind)
#4C7BCE
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c81d0;
/* rgb */ color: rgb(76, 129, 208);
/* oklch */ color: oklch(60.4% 0.134 258.2);
Tailwind
colors: {
  custom: {
    50: '#8aa5df',
    500: '#4c81d0',
    950: '#000000',
  },
}
SCSS
$custom: #4c81d0;
$custom-light: #8aa5df;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81d0",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 208
  },
  "hsl": {
    "h": 215.909,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.13364,
    "h": 258.2
  },
  "luminance": 0.21791
}

Semantic roles & 50–950 ramp

primary
#4C81D0
secondary
#D7C1A0
accent
#A346E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C81D0

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

Preview Lab → · Contrast checker → · Palette generator →

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