#4A87BF#4A87BF

#4A87BF is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.107 H 248.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4A87BF
RGBrgb(74, 135, 191)
HSLhsl(209, 48%, 52%)
HSVhsv(209, 61%, 75%)
CMYKcmyk(61.3%, 29.3%, 0%, 25.1%)
CIE-LABlab(54.60, -2.57, -35.14)
CIE-LCHlch(54.60, 35.23, 265.82°)
OKLaboklab(60.69% -0.0398 -0.099)
OKLCHoklch(60.69% 0.107 248.1)
XYZxyz(20.8885, 22.5434, 52.5306)
Luminance0.2255 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A87BF #BF824A
analogous
#4ABFBD #4A87BF #4A4DBF
triadic
#4A87BF #BF4A87 #87BF4A
tetradic
#4A87BF #BD4ABF #BF824A #4DBF4A
square
#4A87BF #BD4ABF #BF824A #4DBF4A
split-complementary
#4A87BF #BF4A4D #BFBD4A
monochromatic
#254969 #356897 #4A87BF #77A5CF #A4C3DF

Accessibility & contrast

On white

3.81
#4A87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4A87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4A87BF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A87BF#FFFFFF#000000##000000
##4A87BF1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#5F7DBE
Tritanopia (blue-blind)
#00949B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4a87bf;
/* rgb */ color: rgb(74, 135, 191);
/* oklch */ color: oklch(60.7% 0.107 248.1);
Tailwind
colors: {
  custom: {
    50: '#87a9d2',
    500: '#4a87bf',
    950: '#000000',
  },
}
SCSS
$custom: #4a87bf;
$custom-light: #87a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a87bf",
  "rgb": {
    "r": 74,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 208.718,
    "s": 47.755,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60691,
    "c": 0.10671,
    "h": 248.1
  },
  "luminance": 0.22545
}

Semantic roles & 50–950 ramp

primary
#4A87BF
secondary
#CCB199
accent
#9150D7
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4A87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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