#4E87CB#4E87CB

#4E87CB is a mid, vivid cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.120 H 253.9°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#4E87CB
RGBrgb(78, 135, 203)
HSLhsl(213, 55%, 55%)
HSVhsv(213, 62%, 80%)
CMYKcmyk(61.6%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.34, 2.19, -40.78)
CIE-LCHlch(55.34, 40.84, 273.08°)
OKLaboklab(61.5% -0.0332 -0.1154)
OKLCHoklch(61.5% 0.12 253.9)
XYZxyz(22.5815, 23.2573, 59.7874)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87CB #CB924E
analogous
#4EC5CB #4E87CB #544ECB
triadic
#4E87CB #CB4E87 #87CB4E
tetradic
#4E87CB #CB4EC5 #CB924E #4ECB54
square
#4E87CB #CB4EC5 #CB924E #4ECB54
split-complementary
#4E87CB #CB544E #C5CB4E
monochromatic
#244B7B #3269AA #4E87CB #7DA7D9 #ADC7E7

Accessibility & contrast

On white

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

On black

5.65
#4E87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87CB
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87CB#FFFFFF#000000##000000
##4E87CB1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4e87cb;
/* rgb */ color: rgb(78, 135, 203);
/* oklch */ color: oklch(61.5% 0.120 253.9);
Tailwind
colors: {
  custom: {
    50: '#8aa9db',
    500: '#4e87cb',
    950: '#000000',
  },
}
SCSS
$custom: #4e87cb;
$custom-light: #8aa9db;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87cb",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 212.64,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61503,
    "c": 0.12005,
    "h": 253.9
  },
  "luminance": 0.23259
}

Semantic roles & 50–950 ramp

primary
#4E87CB
secondary
#D5BDA0
accent
#9A4ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4E87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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