#4E87B3#4E87B3

#4E87B3 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.3% C 0.090 H 243.4°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4E87B3
RGBrgb(78, 135, 179)
HSLhsl(206, 40%, 50%)
HSVhsv(206, 56%, 70%)
CMYKcmyk(56.4%, 24.6%, 0%, 29.8%)
CIE-LABlab(54.24, -5.66, -28.83)
CIE-LCHlch(54.24, 29.38, 258.89°)
OKLaboklab(60.28% -0.0405 -0.0807)
OKLCHoklch(60.28% 0.09 243.4)
XYZxyz(19.9396, 22.2006, 45.8735)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87B3 #B37A4E
analogous
#4EB3AD #4E87B3 #4E54B3
triadic
#4E87B3 #B34E87 #87B34E
tetradic
#4E87B3 #AD4EB3 #B37A4E #54B34E
square
#4E87B3 #AD4EB3 #B37A4E #54B34E
split-complementary
#4E87B3 #B34E54 #B3AD4E
monochromatic
#28475E #3B6789 #4E87B3 #79A4C5 #A4C1D8

Accessibility & contrast

On white

3.86
#4E87B3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4E87B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87B3
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87B3#FFFFFF#000000##000000
##4E87B31.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B5
Deuteranopia (green-blind)
#667DB2
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e87b3;
/* rgb */ color: rgb(78, 135, 179);
/* oklch */ color: oklch(60.3% 0.090 243.4);
Tailwind
colors: {
  custom: {
    50: '#87a9ca',
    500: '#4e87b3',
    950: '#000000',
  },
}
SCSS
$custom: #4e87b3;
$custom-light: #87a9ca;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87b3",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 179
  },
  "hsl": {
    "h": 206.139,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.09032,
    "h": 243.4
  },
  "luminance": 0.22202
}

Semantic roles & 50–950 ramp

primary
#4E87B3
secondary
#C5AC98
accent
#8C58D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4E87B3

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

Preview Lab → · Contrast checker → · Palette generator →

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