#4E81BB#4E81BB

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

Color values

HEX#4E81BB
RGBrgb(78, 129, 187)
HSLhsl(212, 44%, 52%)
HSVhsv(212, 58%, 73%)
CMYKcmyk(58.3%, 31%, 0%, 26.7%)
CIE-LABlab(52.85, 0.44, -35.59)
CIE-LCHlch(52.85, 35.59, 270.70°)
OKLaboklab(59.3% -0.0311 -0.1003)
OKLCHoklch(59.3% 0.105 252.8)
XYZxyz(19.9586, 20.9063, 49.9876)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81BB #BB884E
analogous
#4EB7BB #4E81BB #524EBB
triadic
#4E81BB #BB4E81 #81BB4E
tetradic
#4E81BB #BB4EB7 #BB884E #4EBB52
square
#4E81BB #BB4EB7 #BB884E #4EBB52
split-complementary
#4E81BB #BB524E #B7BB4E
monochromatic
#284567 #396393 #4E81BB #7AA0CC #A6C0DD

Accessibility & contrast

On white

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

On black

5.18
#4E81BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81BB
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81BB#FFFFFF#000000##000000
##4E81BB1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6984BE
Deuteranopia (green-blind)
#5B79BA
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e81bb;
/* rgb */ color: rgb(78, 129, 187);
/* oklch */ color: oklch(59.3% 0.105 252.8);
Tailwind
colors: {
  custom: {
    50: '#88a5cf',
    500: '#4e81bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e81bb;
$custom-light: #88a5cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81bb",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 187
  },
  "hsl": {
    "h": 211.927,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.59302,
    "c": 0.10502,
    "h": 252.8
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#4E81BB
secondary
#CAB49B
accent
#9854D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4E81BB

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

Preview Lab → · Contrast checker → · Palette generator →

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