#4E87AF#4E87AF

#4E87AF is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.1% C 0.086 H 240.8°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4E87AF
RGBrgb(78, 135, 175)
HSLhsl(205, 38%, 50%)
HSVhsv(205, 55%, 69%)
CMYKcmyk(55.4%, 22.9%, 0%, 31.4%)
CIE-LABlab(54.07, -6.93, -26.80)
CIE-LCHlch(54.07, 27.68, 255.51°)
OKLaboklab(60.09% -0.0418 -0.0749)
OKLCHoklch(60.09% 0.086 240.8)
XYZxyz(19.5409, 22.0411, 43.7737)
Luminance0.2204 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87AF #AF764E
analogous
#4EAFA7 #4E87AF #4E57AF
triadic
#4E87AF #AF4E87 #87AF4E
tetradic
#4E87AF #A74EAF #AF764E #57AF4E
square
#4E87AF #A74EAF #AF764E #57AF4E
split-complementary
#4E87AF #AF4E57 #AFA74E
monochromatic
#28465A #3B6685 #4E87AF #78A4C3 #A2C0D6

Accessibility & contrast

On white

3.88
#4E87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4E87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87AF
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87AF#FFFFFF#000000##000000
##4E87AF1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7587B1
Deuteranopia (green-blind)
#687DAE
Tritanopia (blue-blind)
#019194
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4e87af;
/* rgb */ color: rgb(78, 135, 175);
/* oklch */ color: oklch(60.1% 0.086 240.8);
Tailwind
colors: {
  custom: {
    50: '#87a9c7',
    500: '#4e87af',
    950: '#000000',
  },
}
SCSS
$custom: #4e87af;
$custom-light: #87a9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87af",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 204.742,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.60091,
    "c": 0.0858,
    "h": 240.8
  },
  "luminance": 0.22043
}

Semantic roles & 50–950 ramp

primary
#4E87AF
secondary
#C3A996
accent
#8A5ACE
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4E87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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