#4E81AB#4E81AB

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

Color values

HEX#4E81AB
RGBrgb(78, 129, 171)
HSLhsl(207, 37%, 49%)
HSVhsv(207, 54%, 67%)
CMYKcmyk(54.4%, 24.6%, 0%, 32.9%)
CIE-LABlab(52.13, -4.73, -27.50)
CIE-LCHlch(52.13, 27.91, 260.24°)
OKLaboklab(58.5% -0.0362 -0.0769)
OKLCHoklch(58.5% 0.085 244.8)
XYZxyz(18.3402, 20.2590, 41.4641)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81AB #AB784E
analogous
#4EABA7 #4E81AB #4E53AB
triadic
#4E81AB #AB4E81 #81AB4E
tetradic
#4E81AB #A74EAB #AB784E #53AB4E
square
#4E81AB #A74EAB #AB784E #53AB4E
split-complementary
#4E81AB #AB4E53 #ABA74E
monochromatic
#284257 #3B6181 #4E81AB #769FC0 #A0BCD4

Accessibility & contrast

On white

4.16
#4E81AB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4E81AB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81AB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81AB#FFFFFF#000000##000000
##4E81AB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F82AD
Deuteranopia (green-blind)
#6378AA
Tritanopia (blue-blind)
#128B8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4e81ab;
/* rgb */ color: rgb(78, 129, 171);
/* oklch */ color: oklch(58.5% 0.085 244.8);
Tailwind
colors: {
  custom: {
    50: '#86a5c4',
    500: '#4e81ab',
    950: '#000000',
  },
}
SCSS
$custom: #4e81ab;
$custom-light: #86a5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81ab",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 171
  },
  "hsl": {
    "h": 207.097,
    "s": 37.349,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58501,
    "c": 0.08503,
    "h": 244.8
  },
  "luminance": 0.2026
}

Semantic roles & 50–950 ramp

primary
#4E81AB
secondary
#C1A894
accent
#8E5ACD
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F12
muted
#7D7F81

Preview Lab

Preview with #4E81AB

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

Preview Lab → · Contrast checker → · Palette generator →

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