#4A87BC#4A87BC

#4A87BC is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.5% C 0.103 H 246.7°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#4A87BC
RGBrgb(74, 135, 188)
HSLhsl(208, 46%, 51%)
HSVhsv(208, 61%, 74%)
CMYKcmyk(60.6%, 28.2%, 0%, 26.3%)
CIE-LABlab(54.46, -3.56, -33.64)
CIE-LCHlch(54.46, 33.83, 263.96°)
OKLaboklab(60.54% -0.0407 -0.0947)
OKLCHoklch(60.54% 0.103 246.7)
XYZxyz(20.5618, 22.4127, 50.8097)
Luminance0.2241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87BC #BC7F4A
analogous
#4ABCB8 #4A87BC #4A4EBC
triadic
#4A87BC #BC4A87 #87BC4A
tetradic
#4A87BC #B84ABC #BC7F4A #4EBC4A
square
#4A87BC #B84ABC #BC7F4A #4EBC4A
split-complementary
#4A87BC #BC4A4E #BCB84A
monochromatic
#264866 #366893 #4A87BC #77A5CD #A3C2DD

Accessibility & contrast

On white

3.83
#4A87BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#4A87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87BC
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87BC#FFFFFF#000000##000000
##4A87BC1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BE
Deuteranopia (green-blind)
#617DBB
Tritanopia (blue-blind)
#009499
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4a87bc;
/* rgb */ color: rgb(74, 135, 188);
/* oklch */ color: oklch(60.5% 0.103 246.7);
Tailwind
colors: {
  custom: {
    50: '#86a9d0',
    500: '#4a87bc',
    950: '#000000',
  },
}
SCSS
$custom: #4a87bc;
$custom-light: #86a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87bc",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 207.895,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.60539,
    "c": 0.10307,
    "h": 246.7
  },
  "luminance": 0.22415
}

Semantic roles & 50–950 ramp

primary
#4A87BC
secondary
#CAAF98
accent
#8F52D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4A87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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