#4E81AC#4E81AC

#4E81AC is a mid, moderate cyan. Relative luminance 0.203; OKLCH L 58.5% C 0.086 H 245.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#4E81AC
RGBrgb(78, 129, 172)
HSLhsl(207, 38%, 49%)
HSVhsv(207, 55%, 67%)
CMYKcmyk(54.7%, 25%, 0%, 32.5%)
CIE-LABlab(52.17, -4.41, -28.01)
CIE-LCHlch(52.17, 28.36, 261.05°)
OKLaboklab(58.55% -0.0358 -0.0784)
OKLCHoklch(58.55% 0.086 245.4)
XYZxyz(18.4359, 20.2972, 41.9680)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81AC #AC794E
analogous
#4EACA8 #4E81AC #4E52AC
triadic
#4E81AC #AC4E81 #81AC4E
tetradic
#4E81AC #A84EAC #AC794E #52AC4E
square
#4E81AC #A84EAC #AC794E #52AC4E
split-complementary
#4E81AC #AC4E52 #ACA84E
monochromatic
#284258 #3B6182 #4E81AC #769FC1 #A0BCD4

Accessibility & contrast

On white

4.15
#4E81AC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#4E81AC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81AC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81AC#FFFFFF#000000##000000
##4E81AC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F82AE
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#108B90
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e81ac;
/* rgb */ color: rgb(78, 129, 172);
/* oklch */ color: oklch(58.5% 0.086 245.4);
Tailwind
colors: {
  custom: {
    50: '#86a5c5',
    500: '#4e81ac',
    950: '#000000',
  },
}
SCSS
$custom: #4e81ac;
$custom-light: #86a5c5;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81ac",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 172
  },
  "hsl": {
    "h": 207.447,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.58549,
    "c": 0.08622,
    "h": 245.4
  },
  "luminance": 0.20299
}

Semantic roles & 50–950 ramp

primary
#4E81AC
secondary
#C1A995
accent
#8F5ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #4E81AC

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

Preview Lab → · Contrast checker → · Palette generator →

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