#4F87BD#4F87BD

#4F87BD is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.8% C 0.102 H 249.0°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#4F87BD
RGBrgb(79, 135, 189)
HSLhsl(209, 45%, 53%)
HSVhsv(209, 58%, 74%)
CMYKcmyk(58.2%, 28.6%, 0%, 25.9%)
CIE-LABlab(54.72, -2.23, -33.79)
CIE-LCHlch(54.72, 33.86, 266.22°)
OKLaboklab(60.82% -0.0365 -0.095)
OKLCHoklch(60.82% 0.102 249)
XYZxyz(21.0704, 22.6625, 51.3982)
Luminance0.2266 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87BD #BD854F
analogous
#4FBDBC #4F87BD #4F50BD
triadic
#4F87BD #BD4F87 #87BD4F
tetradic
#4F87BD #BC4FBD #BD854F #50BD4F
square
#4F87BD #BC4FBD #BD854F #50BD4F
split-complementary
#4F87BD #BD4F50 #BDBC4F
monochromatic
#28496A #386896 #4F87BD #7CA5CE #A8C4DE

Accessibility & contrast

On white

3.80
#4F87BD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#4F87BD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87BD
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87BD#FFFFFF#000000##000000
##4F87BD1.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BF
Deuteranopia (green-blind)
#627EBC
Tritanopia (blue-blind)
#00949A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f87bd;
/* rgb */ color: rgb(79, 135, 189);
/* oklch */ color: oklch(60.8% 0.102 249.0);
Tailwind
colors: {
  custom: {
    50: '#89a9d1',
    500: '#4f87bd',
    950: '#000000',
  },
}
SCSS
$custom: #4f87bd;
$custom-light: #89a9d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87bd",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 189
  },
  "hsl": {
    "h": 209.455,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60818,
    "c": 0.10179,
    "h": 249
  },
  "luminance": 0.22664
}

Semantic roles & 50–950 ramp

primary
#4F87BD
secondary
#CCB39C
accent
#9353D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4F87BD

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

Preview Lab → · Contrast checker → · Palette generator →

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