#4C81CF#4C81CF

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

Color values

HEX#4C81CF
RGBrgb(76, 129, 207)
HSLhsl(216, 58%, 55%)
HSVhsv(216, 63%, 81%)
CMYKcmyk(63.3%, 37.7%, 0%, 18.8%)
CIE-LABlab(53.75, 6.76, -45.56)
CIE-LCHlch(53.75, 46.06, 278.44°)
OKLaboklab(60.31% -0.0275 -0.1294)
OKLCHoklch(60.31% 0.132 258)
XYZxyz(22.0892, 21.7399, 62.0515)
Luminance0.2174 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81CF #CF9A4C
analogous
#4CC2CF #4C81CF #584CCF
triadic
#4C81CF #CF4C81 #81CF4C
tetradic
#4C81CF #CF4CC2 #CF9A4C #4CCF58
square
#4C81CF #CF4CC2 #CF9A4C #4CCF58
split-complementary
#4C81CF #CF584C #C2CF4C
monochromatic
#22477F #2F63AF #4C81CF #7CA3DC #ADC5E9

Accessibility & contrast

On white

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

On black

5.35
#4C81CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81CF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81CF#FFFFFF#000000##000000
##4C81CF1.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c81cf;
/* rgb */ color: rgb(76, 129, 207);
/* oklch */ color: oklch(60.3% 0.132 258.0);
Tailwind
colors: {
  custom: {
    50: '#8aa5de',
    500: '#4c81cf',
    950: '#000000',
  },
}
SCSS
$custom: #4c81cf;
$custom-light: #8aa5de;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81cf",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 207
  },
  "hsl": {
    "h": 215.725,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.60308,
    "c": 0.13231,
    "h": 258
  },
  "luminance": 0.21742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4C81CF

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

Preview Lab → · Contrast checker → · Palette generator →

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