#4F87C8#4F87C8

#4F87C8 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.116 H 253.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4F87C8
RGBrgb(79, 135, 200)
HSLhsl(212, 52%, 55%)
HSVhsv(212, 61%, 78%)
CMYKcmyk(60.5%, 32.5%, 0%, 21.6%)
CIE-LABlab(55.23, 1.38, -39.24)
CIE-LCHlch(55.23, 39.26, 272.02°)
OKLaboklab(61.39% -0.0332 -0.1109)
OKLCHoklch(61.39% 0.116 253.3)
XYZxyz(22.3100, 23.1583, 57.9267)
Luminance0.2316 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87C8 #C8904F
analogous
#4FC4C8 #4F87C8 #534FC8
triadic
#4F87C8 #C84F87 #87C84F
tetradic
#4F87C8 #C84FC4 #C8904F #4FC853
square
#4F87C8 #C84FC4 #C8904F #4FC853
split-complementary
#4F87C8 #C8534F #C4C84F
monochromatic
#254B77 #3469A6 #4F87C8 #7EA7D7 #ACC7E5

Accessibility & contrast

On white

3.73
#4F87C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4F87C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87C8
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87C8#FFFFFF#000000##000000
##4F87C81.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8BCB
Deuteranopia (green-blind)
#5B7FC7
Tritanopia (blue-blind)
#00969E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f87c8;
/* rgb */ color: rgb(79, 135, 200);
/* oklch */ color: oklch(61.4% 0.116 253.3);
Tailwind
colors: {
  custom: {
    50: '#8aa9d9',
    500: '#4f87c8',
    950: '#000000',
  },
}
SCSS
$custom: #4f87c8;
$custom-light: #8aa9d9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87c8",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 200
  },
  "hsl": {
    "h": 212.231,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61388,
    "c": 0.11573,
    "h": 253.3
  },
  "luminance": 0.2316
}

Semantic roles & 50–950 ramp

primary
#4F87C8
secondary
#D3BBA0
accent
#994CDC
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0D0F14
muted
#7D7F83

Preview Lab

Preview with #4F87C8

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

Preview Lab → · Contrast checker → · Palette generator →

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