#4E87CA#4E87CA

#4E87CA is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.119 H 253.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4E87CA
RGBrgb(78, 135, 202)
HSLhsl(212, 54%, 55%)
HSVhsv(212, 61%, 79%)
CMYKcmyk(61.4%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.29, 1.86, -40.29)
CIE-LCHlch(55.29, 40.33, 272.64°)
OKLaboklab(61.45% -0.0335 -0.1139)
OKLCHoklch(61.45% 0.119 253.6)
XYZxyz(22.4627, 23.2098, 59.1618)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87CA #CA914E
analogous
#4EC5CA #4E87CA #534ECA
triadic
#4E87CA #CA4E87 #87CA4E
tetradic
#4E87CA #CA4EC5 #CA914E #4ECA53
square
#4E87CA #CA4EC5 #CA914E #4ECA53
split-complementary
#4E87CA #CA534E #C5CA4E
monochromatic
#244B79 #3269A8 #4E87CA #7DA7D8 #ACC7E6

Accessibility & contrast

On white

3.72
#4E87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#4E87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87CA
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87CA#FFFFFF#000000##000000
##4E87CA1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCD
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e87ca;
/* rgb */ color: rgb(78, 135, 202);
/* oklch */ color: oklch(61.4% 0.119 253.6);
Tailwind
colors: {
  custom: {
    50: '#8aa9da',
    500: '#4e87ca',
    950: '#000000',
  },
}
SCSS
$custom: #4e87ca;
$custom-light: #8aa9da;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87ca",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 212.419,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61449,
    "c": 0.11876,
    "h": 253.6
  },
  "luminance": 0.23212
}

Semantic roles & 50–950 ramp

primary
#4E87CA
secondary
#D4BCA0
accent
#9A4BDD
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4E87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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