#4F87BC#4F87BC

#4F87BC is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.101 H 248.6°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4F87BC
RGBrgb(79, 135, 188)
HSLhsl(209, 45%, 52%)
HSVhsv(209, 58%, 74%)
CMYKcmyk(58%, 28.2%, 0%, 26.3%)
CIE-LABlab(54.68, -2.56, -33.29)
CIE-LCHlch(54.68, 33.39, 265.61°)
OKLaboklab(60.77% -0.0368 -0.0936)
OKLCHoklch(60.77% 0.101 248.6)
XYZxyz(20.9622, 22.6192, 50.8285)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87BC #BC844F
analogous
#4FBCBA #4F87BC #4F51BC
triadic
#4F87BC #BC4F87 #87BC4F
tetradic
#4F87BC #BA4FBC #BC844F #51BC4F
square
#4F87BC #BA4FBC #BC844F #51BC4F
split-complementary
#4F87BC #BC4F51 #BCBA4F
monochromatic
#284969 #396895 #4F87BC #7BA5CD #A8C3DE

Accessibility & contrast

On white

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

On black

5.52
#4F87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87BC
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87BC#FFFFFF#000000##000000
##4F87BC1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BE
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f87bc;
/* rgb */ color: rgb(79, 135, 188);
/* oklch */ color: oklch(60.8% 0.101 248.6);
Tailwind
colors: {
  custom: {
    50: '#89a9d0',
    500: '#4f87bc',
    950: '#000000',
  },
}
SCSS
$custom: #4f87bc;
$custom-light: #89a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87bc",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 209.174,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60768,
    "c": 0.10055,
    "h": 248.6
  },
  "luminance": 0.22621
}

Semantic roles & 50–950 ramp

primary
#4F87BC
secondary
#CBB39C
accent
#9253D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4F87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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