#4F87D2#4F87D2

#4F87D2 is a mid, vivid cyan. Relative luminance 0.236; OKLCH L 61.9% C 0.129 H 256.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#4F87D2
RGBrgb(79, 135, 210)
HSLhsl(214, 59%, 57%)
HSVhsv(214, 62%, 82%)
CMYKcmyk(62.4%, 35.7%, 0%, 17.6%)
CIE-LABlab(55.73, 4.73, -44.11)
CIE-LCHlch(55.73, 44.37, 276.12°)
OKLaboklab(61.93% -0.0306 -0.1251)
OKLCHoklch(61.93% 0.129 256.3)
XYZxyz(23.5171, 23.6412, 64.2841)
Luminance0.2364 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87D2 #D29A4F
analogous
#4FC9D2 #4F87D2 #594FD2
triadic
#4F87D2 #D24F87 #87D24F
tetradic
#4F87D2 #D24FC9 #D29A4F #4FD259
square
#4F87D2 #D24FC9 #D29A4F #4FD259
split-complementary
#4F87D2 #D2594F #C9D24F
monochromatic
#224C85 #2E68B5 #4F87D2 #80A8DE #B0C9EB

Accessibility & contrast

On white

3.67
#4F87D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#4F87D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87D2
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87D2#FFFFFF#000000##000000
##4F87D21.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#678CD5
Deuteranopia (green-blind)
#5580D0
Tritanopia (blue-blind)
#0098A2
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f87d2;
/* rgb */ color: rgb(79, 135, 210);
/* oklch */ color: oklch(61.9% 0.129 256.3);
Tailwind
colors: {
  custom: {
    50: '#8ca9e0',
    500: '#4f87d2',
    950: '#000000',
  },
}
SCSS
$custom: #4f87d2;
$custom-light: #8ca9e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87d2",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 210
  },
  "hsl": {
    "h": 214.351,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.61933,
    "c": 0.12877,
    "h": 256.3
  },
  "luminance": 0.23643
}

Semantic roles & 50–950 ramp

primary
#4F87D2
secondary
#D9C2A4
accent
#9F45E2
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F87D2

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

Preview Lab → · Contrast checker → · Palette generator →

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