#4F87B8#4F87B8

#4F87B8 is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.6% C 0.096 H 246.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4F87B8
RGBrgb(79, 135, 184)
HSLhsl(208, 43%, 52%)
HSVhsv(208, 57%, 72%)
CMYKcmyk(57.1%, 26.6%, 0%, 27.8%)
CIE-LABlab(54.50, -3.85, -31.28)
CIE-LCHlch(54.50, 31.52, 262.99°)
OKLaboklab(60.57% -0.038 -0.0878)
OKLCHoklch(60.57% 0.096 246.6)
XYZxyz(20.5370, 22.4491, 48.5890)
Luminance0.2245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87B8 #B8804F
analogous
#4FB8B5 #4F87B8 #4F53B8
triadic
#4F87B8 #B84F87 #87B84F
tetradic
#4F87B8 #B54FB8 #B8804F #53B84F
square
#4F87B8 #B54FB8 #B8804F #53B84F
split-complementary
#4F87B8 #B84F53 #B8B54F
monochromatic
#284864 #3A6890 #4F87B8 #7BA5CA #A6C2DB

Accessibility & contrast

On white

3.82
#4F87B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#4F87B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87B8
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87B8#FFFFFF#000000##000000
##4F87B81.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7288BA
Deuteranopia (green-blind)
#647EB7
Tritanopia (blue-blind)
#009398
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f87b8;
/* rgb */ color: rgb(79, 135, 184);
/* oklch */ color: oklch(60.6% 0.096 246.6);
Tailwind
colors: {
  custom: {
    50: '#88a9cd',
    500: '#4f87b8',
    950: '#000000',
  },
}
SCSS
$custom: #4f87b8;
$custom-light: #88a9cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87b8",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 184
  },
  "hsl": {
    "h": 208,
    "s": 42.51,
    "l": 51.569
  },
  "oklch": {
    "l": 0.6057,
    "c": 0.09567,
    "h": 246.6
  },
  "luminance": 0.22451
}

Semantic roles & 50–950 ramp

primary
#4F87B8
secondary
#C8B09A
accent
#9056D2
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F13
muted
#7D7F82

Preview Lab

Preview with #4F87B8

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

Preview Lab → · Contrast checker → · Palette generator →

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