#4A87AF#4A87AF

#4A87AF is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.9% C 0.088 H 239.3°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4A87AF
RGBrgb(74, 135, 175)
HSLhsl(204, 41%, 49%)
HSVhsv(204, 58%, 69%)
CMYKcmyk(57.7%, 22.9%, 0%, 31.4%)
CIE-LABlab(53.90, -7.79, -27.08)
CIE-LCHlch(53.90, 28.18, 253.96°)
OKLaboklab(59.9% -0.045 -0.0758)
OKLCHoklch(59.9% 0.088 239.3)
XYZxyz(19.2230, 21.8772, 43.7588)
Luminance0.2188 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87AF #AF724A
analogous
#4AAFA5 #4A87AF #4A55AF
triadic
#4A87AF #AF4A87 #87AF4A
tetradic
#4A87AF #A54AAF #AF724A #55AF4A
square
#4A87AF #A54AAF #AF724A #55AF4A
split-complementary
#4A87AF #AF4A55 #AFA54A
monochromatic
#264559 #386684 #4A87AF #73A4C4 #9EC0D6

Accessibility & contrast

On white

3.91
#4A87AF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#4A87AF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87AF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87AF#FFFFFF#000000##000000
##4A87AF1.003.915.385.38
#FFFFFF3.911.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7587B1
Deuteranopia (green-blind)
#677CAE
Tritanopia (blue-blind)
#009194
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a87af;
/* rgb */ color: rgb(74, 135, 175);
/* oklch */ color: oklch(59.9% 0.088 239.3);
Tailwind
colors: {
  custom: {
    50: '#85a9c7',
    500: '#4a87af',
    950: '#000000',
  },
}
SCSS
$custom: #4a87af;
$custom-light: #85a9c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87af",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 175
  },
  "hsl": {
    "h": 203.762,
    "s": 40.562,
    "l": 48.824
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.08813,
    "h": 239.3
  },
  "luminance": 0.21879
}

Semantic roles & 50–950 ramp

primary
#4A87AF
secondary
#C2A592
accent
#8757D0
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4A87AF

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

Preview Lab → · Contrast checker → · Palette generator →

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