#4C81CE#4C81CE

#4C81CE is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.3% C 0.131 H 257.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#4C81CE
RGBrgb(76, 129, 206)
HSLhsl(216, 57%, 55%)
HSVhsv(216, 63%, 81%)
CMYKcmyk(63.1%, 37.4%, 0%, 19.2%)
CIE-LABlab(53.70, 6.42, -45.07)
CIE-LCHlch(53.70, 45.53, 278.11°)
OKLaboklab(60.25% -0.0278 -0.128)
OKLCHoklch(60.25% 0.131 257.8)
XYZxyz(21.9674, 21.6912, 61.4097)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81CE #CE994C
analogous
#4CC2CE #4C81CE #584CCE
triadic
#4C81CE #CE4C81 #81CE4C
tetradic
#4C81CE #CE4CC2 #CE994C #4CCE58
square
#4C81CE #CE4CC2 #CE994C #4CCE58
split-complementary
#4C81CE #CE584C #C2CE4C
monochromatic
#22477D #2F63AD #4C81CE #7CA3DB #ACC5E8

Accessibility & contrast

On white

3.93
#4C81CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#4C81CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81CE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81CE#FFFFFF#000000##000000
##4C81CE1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F87D1
Deuteranopia (green-blind)
#4D7BCC
Tritanopia (blue-blind)
#00939E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c81ce;
/* rgb */ color: rgb(76, 129, 206);
/* oklch */ color: oklch(60.3% 0.131 257.8);
Tailwind
colors: {
  custom: {
    50: '#8aa5dd',
    500: '#4c81ce',
    950: '#000000',
  },
}
SCSS
$custom: #4c81ce;
$custom-light: #8aa5dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81ce",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 206
  },
  "hsl": {
    "h": 215.538,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6025,
    "c": 0.13098,
    "h": 257.8
  },
  "luminance": 0.21693
}

Semantic roles & 50–950 ramp

primary
#4C81CE
secondary
#D6C0A0
accent
#A248E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4C81CE

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

Preview Lab → · Contrast checker → · Palette generator →

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