#4C81BE#4C81BE

#4C81BE is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 59.4% C 0.110 H 253.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#4C81BE
RGBrgb(76, 129, 190)
HSLhsl(212, 47%, 52%)
HSVhsv(212, 60%, 75%)
CMYKcmyk(60%, 32.1%, 0%, 25.5%)
CIE-LABlab(52.90, 1.02, -37.23)
CIE-LCHlch(52.90, 37.24, 271.57°)
OKLaboklab(59.36% -0.0319 -0.1051)
OKLCHoklch(59.36% 0.11 253.1)
XYZxyz(20.1217, 20.9529, 51.6891)
Luminance0.2095 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C81BE #BE894C
analogous
#4CBABE #4C81BE #504CBE
triadic
#4C81BE #BE4C81 #81BE4C
tetradic
#4C81BE #BE4CBA #BE894C #4CBE50
square
#4C81BE #BE4CBA #BE894C #4CBE50
split-complementary
#4C81BE #BE504C #BABE4C
monochromatic
#264569 #376396 #4C81BE #79A1CE #A6C0DF

Accessibility & contrast

On white

4.05
#4C81BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#4C81BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4C81BE
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C81BE#FFFFFF#000000##000000
##4C81BE1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6784C1
Deuteranopia (green-blind)
#5879BD
Tritanopia (blue-blind)
#008F97
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4c81be;
/* rgb */ color: rgb(76, 129, 190);
/* oklch */ color: oklch(59.4% 0.110 253.1);
Tailwind
colors: {
  custom: {
    50: '#87a5d2',
    500: '#4c81be',
    950: '#000000',
  },
}
SCSS
$custom: #4c81be;
$custom-light: #87a5d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c81be",
  "rgb": {
    "r": 76,
    "g": 129,
    "b": 190
  },
  "hsl": {
    "h": 212.105,
    "s": 46.721,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59364,
    "c": 0.10986,
    "h": 253.1
  },
  "luminance": 0.20955
}

Semantic roles & 50–950 ramp

primary
#4C81BE
secondary
#CCB59A
accent
#9951D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4C81BE

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

Preview Lab → · Contrast checker → · Palette generator →

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