#4A87B2#4A87B2

#4A87B2 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 60.0% C 0.091 H 241.2°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#4A87B2
RGBrgb(74, 135, 178)
HSLhsl(205, 41%, 49%)
HSVhsv(205, 58%, 70%)
CMYKcmyk(58.4%, 24.2%, 0%, 30.2%)
CIE-LABlab(54.02, -6.82, -28.61)
CIE-LCHlch(54.02, 29.41, 256.59°)
OKLaboklab(60.05% -0.044 -0.0801)
OKLCHoklch(60.05% 0.091 241.2)
XYZxyz(19.5209, 21.9964, 45.3278)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87B2 #B2754A
analogous
#4AB2A9 #4A87B2 #4A53B2
triadic
#4A87B2 #B24A87 #87B24A
tetradic
#4A87B2 #A94AB2 #B2754A #53B24A
square
#4A87B2 #A94AB2 #B2754A #53B24A
split-complementary
#4A87B2 #B24A53 #B2A94A
monochromatic
#26455C #386687 #4A87B2 #74A4C5 #9FC0D7

Accessibility & contrast

On white

3.89
#4A87B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#4A87B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87B2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87B2#FFFFFF#000000##000000
##4A87B21.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#667CB1
Tritanopia (blue-blind)
#009296
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4a87b2;
/* rgb */ color: rgb(74, 135, 178);
/* oklch */ color: oklch(60.0% 0.091 241.2);
Tailwind
colors: {
  custom: {
    50: '#85a9c9',
    500: '#4a87b2',
    950: '#000000',
  },
}
SCSS
$custom: #4a87b2;
$custom-light: #85a9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87b2",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 204.808,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.60047,
    "c": 0.09142,
    "h": 241.2
  },
  "luminance": 0.21998
}

Semantic roles & 50–950 ramp

primary
#4A87B2
secondary
#C4A894
accent
#8957D1
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4A87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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