#4F87BB#4F87BB

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

Color values

HEX#4F87BB
RGBrgb(79, 135, 187)
HSLhsl(209, 44%, 52%)
HSVhsv(209, 58%, 73%)
CMYKcmyk(57.8%, 27.8%, 0%, 26.7%)
CIE-LABlab(54.63, -2.88, -32.79)
CIE-LCHlch(54.63, 32.91, 264.98°)
OKLaboklab(60.72% -0.0371 -0.0921)
OKLCHoklch(60.72% 0.099 248.1)
XYZxyz(20.8548, 22.5762, 50.2627)
Luminance0.2258 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87BB #BB834F
analogous
#4FBBB9 #4F87BB #4F51BB
triadic
#4F87BB #BB4F87 #87BB4F
tetradic
#4F87BB #B94FBB #BB834F #51BB4F
square
#4F87BB #B94FBB #BB834F #51BB4F
split-complementary
#4F87BB #BB4F51 #BBB94F
monochromatic
#284968 #396894 #4F87BB #7BA5CC #A7C3DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4F87BB#FFFFFF#000000##000000
##4F87BB1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7189BD
Deuteranopia (green-blind)
#637EBA
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f87bb;
/* rgb */ color: rgb(79, 135, 187);
/* oklch */ color: oklch(60.7% 0.099 248.1);
Tailwind
colors: {
  custom: {
    50: '#89a9cf',
    500: '#4f87bb',
    950: '#000000',
  },
}
SCSS
$custom: #4f87bb;
$custom-light: #89a9cf;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87bb",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 187
  },
  "hsl": {
    "h": 208.889,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.60718,
    "c": 0.09932,
    "h": 248.1
  },
  "luminance": 0.22578
}

Semantic roles & 50–950 ramp

primary
#4F87BB
secondary
#CAB29B
accent
#9254D4
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4F87BB

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

Preview Lab → · Contrast checker → · Palette generator →

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