#4E87BB#4E87BB

#4E87BB is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.100 H 247.7°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4E87BB
RGBrgb(78, 135, 187)
HSLhsl(209, 44%, 52%)
HSVhsv(209, 58%, 73%)
CMYKcmyk(58.3%, 27.8%, 0%, 26.7%)
CIE-LABlab(54.59, -3.09, -32.86)
CIE-LCHlch(54.59, 33.01, 264.63°)
OKLaboklab(60.67% -0.0379 -0.0924)
OKLCHoklch(60.67% 0.1 247.7)
XYZxyz(20.7722, 22.5337, 50.2588)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87BB #BB824E
analogous
#4EBBB9 #4E87BB #4E51BB
triadic
#4E87BB #BB4E87 #87BB4E
tetradic
#4E87BB #B94EBB #BB824E #51BB4E
square
#4E87BB #B94EBB #BB824E #51BB4E
split-complementary
#4E87BB #BB4E51 #BBB94E
monochromatic
#284967 #396893 #4E87BB #7AA5CC #A6C3DD

Accessibility & contrast

On white

3.81
#4E87BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4E87BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87BB
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87BB#FFFFFF#000000##000000
##4E87BB1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BD
Deuteranopia (green-blind)
#627EBA
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e87bb;
/* rgb */ color: rgb(78, 135, 187);
/* oklch */ color: oklch(60.7% 0.100 247.7);
Tailwind
colors: {
  custom: {
    50: '#88a9cf',
    500: '#4e87bb',
    950: '#000000',
  },
}
SCSS
$custom: #4e87bb;
$custom-light: #88a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87bb",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 208.624,
    "s": 44.49,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60671,
    "c": 0.09984,
    "h": 247.7
  },
  "luminance": 0.22536
}

Semantic roles & 50–950 ramp

primary
#4E87BB
secondary
#CAB19B
accent
#9154D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4E87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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