#4C81D2#4C81D2

#4C81D2 is a mid, vivid blue. Relative luminance 0.219; OKLCH L 60.5% C 0.136 H 258.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4C81D2
RGBrgb(76, 129, 210)
HSLhsl(216, 60%, 56%)
HSVhsv(216, 64%, 82%)
CMYKcmyk(63.8%, 38.6%, 0%, 17.6%)
CIE-LABlab(53.91, 7.79, -47.00)
CIE-LCHlch(53.91, 47.65, 279.41°)
OKLaboklab(60.48% -0.0268 -0.1336)
OKLCHoklch(60.48% 0.136 258.6)
XYZxyz(22.4595, 21.8880, 64.0015)
Luminance0.2189 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81D2 #D29D4C
analogous
#4CC4D2 #4C81D2 #5A4CD2
triadic
#4C81D2 #D24C81 #81D24C
tetradic
#4C81D2 #D24CC4 #D29D4C #4CD25A
square
#4C81D2 #D24CC4 #D29D4C #4CD25A
split-complementary
#4C81D2 #D25A4C #C4D24C
monochromatic
#214883 #2D62B4 #4C81D2 #7DA3DE #AEC6EB

Accessibility & contrast

On white

3.90
#4C81D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4C81D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81D2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81D2#FFFFFF#000000##000000
##4C81D21.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D88D5
Deuteranopia (green-blind)
#4A7BD0
Tritanopia (blue-blind)
#00939F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4c81d2;
/* rgb */ color: rgb(76, 129, 210);
/* oklch */ color: oklch(60.5% 0.136 258.6);
Tailwind
colors: {
  custom: {
    50: '#8aa5e0',
    500: '#4c81d2',
    950: '#000000',
  },
}
SCSS
$custom: #4c81d2;
$custom-light: #8aa5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81d2",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 210
  },
  "hsl": {
    "h": 216.269,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60482,
    "c": 0.13632,
    "h": 258.6
  },
  "luminance": 0.2189
}

Semantic roles & 50–950 ramp

primary
#4C81D2
secondary
#D9C3A1
accent
#A445E3
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C81D2

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

Preview Lab → · Contrast checker → · Palette generator →

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