#4C81D7#4C81D7

#4C81D7 is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.8% C 0.143 H 259.6°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#4C81D7
RGBrgb(76, 129, 215)
HSLhsl(217, 63%, 57%)
HSVhsv(217, 65%, 84%)
CMYKcmyk(64.7%, 40%, 0%, 15.7%)
CIE-LABlab(54.18, 9.51, -49.40)
CIE-LCHlch(54.18, 50.31, 280.90°)
OKLaboklab(60.78% -0.0257 -0.1407)
OKLCHoklch(60.78% 0.143 259.6)
XYZxyz(23.0921, 22.1411, 67.3335)
Luminance0.2214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81D7 #D7A24C
analogous
#4CC7D7 #4C81D7 #5D4CD7
triadic
#4C81D7 #D74C81 #81D74C
tetradic
#4C81D7 #D74CC7 #D7A24C #4CD75D
square
#4C81D7 #D74CC7 #D7A24C #4CD75D
split-complementary
#4C81D7 #D75D4C #C7D74C
monochromatic
#1F488A #2A62BC #4C81D7 #7EA4E2 #B0C7ED

Accessibility & contrast

On white

3.87
#4C81D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#4C81D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81D7
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81D7#FFFFFF#000000##000000
##4C81D71.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A89DA
Deuteranopia (green-blind)
#467CD5
Tritanopia (blue-blind)
#0095A1
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4c81d7;
/* rgb */ color: rgb(76, 129, 215);
/* oklch */ color: oklch(60.8% 0.143 259.6);
Tailwind
colors: {
  custom: {
    50: '#8ba5e4',
    500: '#4c81d7',
    950: '#000000',
  },
}
SCSS
$custom: #4c81d7;
$custom-light: #8ba5e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81d7",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 215
  },
  "hsl": {
    "h": 217.122,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.60778,
    "c": 0.14301,
    "h": 259.6
  },
  "luminance": 0.22143
}

Semantic roles & 50–950 ramp

primary
#4C81D7
secondary
#DCC6A3
accent
#A841E6
background
#F9FAFE
surface
#F1F4FC
border
#CBCED5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4C81D7

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

Preview Lab → · Contrast checker → · Palette generator →

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