#4E81BD#4E81BD

#4E81BD is a mid, moderate cyan. Relative luminance 0.210; OKLCH L 59.4% C 0.108 H 253.5°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#4E81BD
RGBrgb(78, 129, 189)
HSLhsl(212, 46%, 52%)
HSVhsv(212, 59%, 74%)
CMYKcmyk(58.7%, 31.7%, 0%, 25.9%)
CIE-LABlab(52.94, 1.09, -36.58)
CIE-LCHlch(52.94, 36.60, 271.71°)
OKLaboklab(59.41% -0.0306 -0.1032)
OKLCHoklch(59.41% 0.108 253.5)
XYZxyz(20.1742, 20.9926, 51.1231)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E81BD #BD8A4E
analogous
#4EB9BD #4E81BD #524EBD
triadic
#4E81BD #BD4E81 #81BD4E
tetradic
#4E81BD #BD4EB9 #BD8A4E #4EBD52
square
#4E81BD #BD4EB9 #BD8A4E #4EBD52
split-complementary
#4E81BD #BD524E #B9BD4E
monochromatic
#274669 #386396 #4E81BD #7BA1CE #A7C0DE

Accessibility & contrast

On white

4.04
#4E81BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#4E81BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E81BD
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E81BD#FFFFFF#000000##000000
##4E81BD1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6884C0
Deuteranopia (green-blind)
#597ABC
Tritanopia (blue-blind)
#008F96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4e81bd;
/* rgb */ color: rgb(78, 129, 189);
/* oklch */ color: oklch(59.4% 0.108 253.5);
Tailwind
colors: {
  custom: {
    50: '#88a5d1',
    500: '#4e81bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e81bd;
$custom-light: #88a5d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e81bd",
  "rgb": {
    "r": 78,
    "g": 129,
    "b": 189
  },
  "hsl": {
    "h": 212.432,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.59407,
    "c": 0.10763,
    "h": 253.5
  },
  "luminance": 0.20994
}

Semantic roles & 50–950 ramp

primary
#4E81BD
secondary
#CCB59B
accent
#9952D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4E81BD

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

Preview Lab → · Contrast checker → · Palette generator →

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