#4E87C1#4E87C1

#4E87C1 is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 61.0% C 0.107 H 250.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#4E87C1
RGBrgb(78, 135, 193)
HSLhsl(210, 48%, 53%)
HSVhsv(210, 60%, 76%)
CMYKcmyk(59.6%, 30.1%, 0%, 24.3%)
CIE-LABlab(54.86, -1.13, -35.85)
CIE-LCHlch(54.86, 35.87, 268.20°)
OKLaboklab(60.98% -0.036 -0.101)
OKLCHoklch(60.98% 0.107 250.4)
XYZxyz(21.4280, 22.7960, 53.7126)
Luminance0.2280 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87C1 #C1884E
analogous
#4EC0C1 #4E87C1 #4E4EC1
triadic
#4E87C1 #C14E87 #87C14E
tetradic
#4E87C1 #C14EC0 #C1884E #4EC14E
square
#4E87C1 #C14EC0 #C1884E #4EC14E
split-complementary
#4E87C1 #C14E4E #C0C14E
monochromatic
#274A6E #36689B #4E87C1 #7BA6D1 #A9C4E1

Accessibility & contrast

On white

3.78
#4E87C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#4E87C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87C1
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87C1#FFFFFF#000000##000000
##4E87C11.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E89C4
Deuteranopia (green-blind)
#5F7EC0
Tritanopia (blue-blind)
#00949B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4e87c1;
/* rgb */ color: rgb(78, 135, 193);
/* oklch */ color: oklch(61.0% 0.107 250.4);
Tailwind
colors: {
  custom: {
    50: '#89a9d4',
    500: '#4e87c1',
    950: '#000000',
  },
}
SCSS
$custom: #4e87c1;
$custom-light: #89a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87c1",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 193
  },
  "hsl": {
    "h": 210.261,
    "s": 48.117,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60975,
    "c": 0.10727,
    "h": 250.4
  },
  "luminance": 0.22798
}

Semantic roles & 50–950 ramp

primary
#4E87C1
secondary
#CEB69D
accent
#9450D8
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4E87C1

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

Preview Lab → · Contrast checker → · Palette generator →

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