#4E87BA#4E87BA

#4E87BA is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.6% C 0.099 H 247.2°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#4E87BA
RGBrgb(78, 135, 186)
HSLhsl(208, 44%, 52%)
HSVhsv(208, 58%, 73%)
CMYKcmyk(58.1%, 27.4%, 0%, 27.1%)
CIE-LABlab(54.54, -3.41, -32.36)
CIE-LCHlch(54.54, 32.54, 263.98°)
OKLaboklab(60.62% -0.0382 -0.0909)
OKLCHoklch(60.62% 0.099 247.2)
XYZxyz(20.6656, 22.4910, 49.6970)
Luminance0.2249 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E87BA #BA814E
analogous
#4EBAB7 #4E87BA #4E51BA
triadic
#4E87BA #BA4E87 #87BA4E
tetradic
#4E87BA #B74EBA #BA814E #51BA4E
square
#4E87BA #B74EBA #BA814E #51BA4E
split-complementary
#4E87BA #BA4E51 #BAB74E
monochromatic
#284966 #396892 #4E87BA #7AA5CB #A6C3DC

Accessibility & contrast

On white

3.82
#4E87BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#4E87BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4E87BA
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E87BA#FFFFFF#000000##000000
##4E87BA1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7188BC
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4e87ba;
/* rgb */ color: rgb(78, 135, 186);
/* oklch */ color: oklch(60.6% 0.099 247.2);
Tailwind
colors: {
  custom: {
    50: '#88a9cf',
    500: '#4e87ba',
    950: '#000000',
  },
}
SCSS
$custom: #4e87ba;
$custom-light: #88a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4e87ba",
  "rgb": {
    "r": 78,
    "g": 135,
    "b": 186
  },
  "hsl": {
    "h": 208.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60621,
    "c": 0.09862,
    "h": 247.2
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#4E87BA
secondary
#CAB19A
accent
#9054D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4E87BA

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

Preview Lab → · Contrast checker → · Palette generator →

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