#4E87BD#4E87BD

#4E87BD is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.102 H 248.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4E87BD
RGBrgb(78, 135, 189)
HSLhsl(209, 46%, 52%)
HSVhsv(209, 59%, 74%)
CMYKcmyk(58.7%, 28.6%, 0%, 25.9%)
CIE-LABlab(54.68, -2.44, -33.86)
CIE-LCHlch(54.68, 33.95, 265.88°)
OKLaboklab(60.77% -0.0373 -0.0953)
OKLCHoklch(60.77% 0.102 248.6)
XYZxyz(20.9878, 22.6199, 51.3943)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87BD #BD844E
analogous
#4EBDBB #4E87BD #4E50BD
triadic
#4E87BD #BD4E87 #87BD4E
tetradic
#4E87BD #BB4EBD #BD844E #50BD4E
square
#4E87BD #BB4EBD #BD844E #50BD4E
split-complementary
#4E87BD #BD4E50 #BDBB4E
monochromatic
#274969 #386896 #4E87BD #7BA5CE #A7C3DE

Accessibility & contrast

On white

3.80
#4E87BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4E87BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87BD
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87BD#FFFFFF#000000##000000
##4E87BD1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BF
Deuteranopia (green-blind)
#617EBC
Tritanopia (blue-blind)
#00949A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e87bd;
/* rgb */ color: rgb(78, 135, 189);
/* oklch */ color: oklch(60.8% 0.102 248.6);
Tailwind
colors: {
  custom: {
    50: '#88a9d1',
    500: '#4e87bd',
    950: '#000000',
  },
}
SCSS
$custom: #4e87bd;
$custom-light: #88a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87bd",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 209.189,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60771,
    "c": 0.10229,
    "h": 248.6
  },
  "luminance": 0.22622
}

Semantic roles & 50–950 ramp

primary
#4E87BD
secondary
#CCB39B
accent
#9252D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4E87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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