#4F87CF#4F87CF

#4F87CF is a mid, vivid cyan. Relative luminance 0.235; OKLCH L 61.8% C 0.125 H 255.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#4F87CF
RGBrgb(79, 135, 207)
HSLhsl(214, 57%, 56%)
HSVhsv(214, 62%, 81%)
CMYKcmyk(61.8%, 34.8%, 0%, 18.8%)
CIE-LABlab(55.58, 3.72, -42.66)
CIE-LCHlch(55.58, 42.82, 274.98°)
OKLaboklab(61.77% -0.0314 -0.1208)
OKLCHoklch(61.77% 0.125 255.5)
XYZxyz(23.1469, 23.4931, 62.3342)
Luminance0.2349 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87CF #CF974F
analogous
#4FC7CF #4F87CF #574FCF
triadic
#4F87CF #CF4F87 #87CF4F
tetradic
#4F87CF #CF4FC7 #CF974F #4FCF57
square
#4F87CF #CF4FC7 #CF974F #4FCF57
split-complementary
#4F87CF #CF574F #C7CF4F
monochromatic
#234C81 #3068B1 #4F87CF #7FA8DC #AFC9E9

Accessibility & contrast

On white

3.68
#4F87CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#4F87CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87CF#FFFFFF#000000##000000
##4F87CF1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD2
Deuteranopia (green-blind)
#5780CE
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f87cf;
/* rgb */ color: rgb(79, 135, 207);
/* oklch */ color: oklch(61.8% 0.125 255.5);
Tailwind
colors: {
  custom: {
    50: '#8ba9de',
    500: '#4f87cf',
    950: '#000000',
  },
}
SCSS
$custom: #4f87cf;
$custom-light: #8ba9de;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87cf",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 207
  },
  "hsl": {
    "h": 213.75,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61767,
    "c": 0.12483,
    "h": 255.5
  },
  "luminance": 0.23495
}

Semantic roles & 50–950 ramp

primary
#4F87CF
secondary
#D7C0A2
accent
#9D47E0
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F87CF

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

Preview Lab → · Contrast checker → · Palette generator →

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