#4C81CB#4C81CB

#4C81CB is a mid, vivid cyan. Relative luminance 0.215; OKLCH L 60.1% C 0.127 H 257.0°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#4C81CB
RGBrgb(76, 129, 203)
HSLhsl(215, 55%, 55%)
HSVhsv(215, 63%, 80%)
CMYKcmyk(62.6%, 36.5%, 0%, 20.4%)
CIE-LABlab(53.54, 5.40, -43.62)
CIE-LCHlch(53.54, 43.95, 277.06°)
OKLaboklab(60.08% -0.0285 -0.1237)
OKLCHoklch(60.08% 0.127 257)
XYZxyz(21.6064, 21.5468, 59.5086)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81CB #CB964C
analogous
#4CC0CB #4C81CB #574CCB
triadic
#4C81CB #CB4C81 #81CB4C
tetradic
#4C81CB #CB4CC0 #CB964C #4CCB57
square
#4C81CB #CB4CC0 #CB964C #4CCB57
split-complementary
#4C81CB #CB574C #C0CB4C
monochromatic
#234779 #3163A9 #4C81CB #7BA2D9 #ABC4E7

Accessibility & contrast

On white

3.95
#4C81CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#4C81CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81CB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81CB#FFFFFF#000000##000000
##4C81CB1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6186CE
Deuteranopia (green-blind)
#507AC9
Tritanopia (blue-blind)
#00929C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4c81cb;
/* rgb */ color: rgb(76, 129, 203);
/* oklch */ color: oklch(60.1% 0.127 257.0);
Tailwind
colors: {
  custom: {
    50: '#89a5db',
    500: '#4c81cb',
    950: '#000000',
  },
}
SCSS
$custom: #4c81cb;
$custom-light: #89a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81cb",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 203
  },
  "hsl": {
    "h": 214.961,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60079,
    "c": 0.12698,
    "h": 257
  },
  "luminance": 0.21549
}

Semantic roles & 50–950 ramp

primary
#4C81CB
secondary
#D4BE9F
accent
#A049DE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4C81CB

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

Preview Lab → · Contrast checker → · Palette generator →

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