#4E81BA#4E81BA

#4E81BA is a mid, moderate cyan. Relative luminance 0.209; OKLCH L 59.3% C 0.104 H 252.4°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#4E81BA
RGBrgb(78, 129, 186)
HSLhsl(212, 44%, 52%)
HSVhsv(212, 58%, 73%)
CMYKcmyk(58.1%, 30.6%, 0%, 27.1%)
CIE-LABlab(52.80, 0.11, -35.09)
CIE-LCHlch(52.80, 35.09, 270.18°)
OKLaboklab(59.25% -0.0314 -0.0988)
OKLCHoklch(59.25% 0.104 252.4)
XYZxyz(19.8519, 20.8637, 49.4258)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81BA #BA874E
analogous
#4EB7BA #4E81BA #514EBA
triadic
#4E81BA #BA4E81 #81BA4E
tetradic
#4E81BA #BA4EB7 #BA874E #4EBA51
square
#4E81BA #BA4EB7 #BA874E #4EBA51
split-complementary
#4E81BA #BA514E #B7BA4E
monochromatic
#284566 #396392 #4E81BA #7AA0CB #A6C0DC

Accessibility & contrast

On white

4.06
#4E81BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#4E81BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81BA
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81BA#FFFFFF#000000##000000
##4E81BA1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BC
Deuteranopia (green-blind)
#5B79B9
Tritanopia (blue-blind)
#008E95
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e81ba;
/* rgb */ color: rgb(78, 129, 186);
/* oklch */ color: oklch(59.3% 0.104 252.4);
Tailwind
colors: {
  custom: {
    50: '#88a5cf',
    500: '#4e81ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e81ba;
$custom-light: #88a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81ba",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 186
  },
  "hsl": {
    "h": 211.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5925,
    "c": 0.10373,
    "h": 252.4
  },
  "luminance": 0.20865
}

Semantic roles & 50–950 ramp

primary
#4E81BA
secondary
#CAB39A
accent
#9754D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E81BA

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

Preview Lab → · Contrast checker → · Palette generator →

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