#4E87B7#4E87B7

#4E87B7 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.5% C 0.095 H 245.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#4E87B7
RGBrgb(78, 135, 183)
HSLhsl(207, 42%, 51%)
HSVhsv(207, 57%, 72%)
CMYKcmyk(57.4%, 26.2%, 0%, 28.2%)
CIE-LABlab(54.41, -4.38, -30.85)
CIE-LCHlch(54.41, 31.16, 261.92°)
OKLaboklab(60.47% -0.0392 -0.0866)
OKLCHoklch(60.47% 0.095 245.7)
XYZxyz(20.3500, 22.3648, 48.0350)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87B7 #B77E4E
analogous
#4EB7B3 #4E87B7 #4E52B7
triadic
#4E87B7 #B74E87 #87B74E
tetradic
#4E87B7 #B34EB7 #B77E4E #52B74E
square
#4E87B7 #B34EB7 #B77E4E #52B74E
split-complementary
#4E87B7 #B74E52 #B7B34E
monochromatic
#284863 #3A688E #4E87B7 #7AA4C9 #A5C2DA

Accessibility & contrast

On white

3.84
#4E87B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#4E87B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87B7
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87B7#FFFFFF#000000##000000
##4E87B71.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7288B9
Deuteranopia (green-blind)
#647DB6
Tritanopia (blue-blind)
#009298
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e87b7;
/* rgb */ color: rgb(78, 135, 183);
/* oklch */ color: oklch(60.5% 0.095 245.7);
Tailwind
colors: {
  custom: {
    50: '#88a9cc',
    500: '#4e87b7',
    950: '#000000',
  },
}
SCSS
$custom: #4e87b7;
$custom-light: #88a9cc;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87b7",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 183
  },
  "hsl": {
    "h": 207.429,
    "s": 42.169,
    "l": 51.176
  },
  "oklch": {
    "l": 0.60473,
    "c": 0.09501,
    "h": 245.7
  },
  "luminance": 0.22367
}

Semantic roles & 50–950 ramp

primary
#4E87B7
secondary
#C8AE99
accent
#8F56D2
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E87B7

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

Preview Lab → · Contrast checker → · Palette generator →

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