#4E81B2#4E81B2

#4E81B2 is a mid, moderate cyan. Relative luminance 0.205; OKLCH L 58.8% C 0.094 H 248.8°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#4E81B2
RGBrgb(78, 129, 178)
HSLhsl(209, 39%, 50%)
HSVhsv(209, 56%, 70%)
CMYKcmyk(56.2%, 27.5%, 0%, 30.2%)
CIE-LABlab(52.43, -2.49, -31.06)
CIE-LCHlch(52.43, 31.16, 265.41°)
OKLaboklab(58.84% -0.0339 -0.0872)
OKLCHoklch(58.84% 0.094 248.8)
XYZxyz(19.0251, 20.5330, 45.0715)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81B2 #B27F4E
analogous
#4EB2B1 #4E81B2 #4E4FB2
triadic
#4E81B2 #B24E81 #81B24E
tetradic
#4E81B2 #B14EB2 #B27F4E #4FB24E
square
#4E81B2 #B14EB2 #B27F4E #4FB24E
split-complementary
#4E81B2 #B24E4F #B2B14E
monochromatic
#29435D #3B6288 #4E81B2 #799FC5 #A3BED7

Accessibility & contrast

On white

4.11
#4E81B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#4E81B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81B2#FFFFFF#000000##000000
##4E81B21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D83B4
Deuteranopia (green-blind)
#5F79B1
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4e81b2;
/* rgb */ color: rgb(78, 129, 178);
/* oklch */ color: oklch(58.8% 0.094 248.8);
Tailwind
colors: {
  custom: {
    50: '#87a5c9',
    500: '#4e81b2',
    950: '#000000',
  },
}
SCSS
$custom: #4e81b2;
$custom-light: #87a5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81b2",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 178
  },
  "hsl": {
    "h": 209.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58843,
    "c": 0.09356,
    "h": 248.8
  },
  "luminance": 0.20535
}

Semantic roles & 50–950 ramp

primary
#4E81B2
secondary
#C4AD98
accent
#9359CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E81B2

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

Preview Lab → · Contrast checker → · Palette generator →

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