#4F87CE#4F87CE

#4F87CE is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.7% C 0.124 H 255.2°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#4F87CE
RGBrgb(79, 135, 206)
HSLhsl(214, 56%, 56%)
HSVhsv(214, 62%, 81%)
CMYKcmyk(61.7%, 34.5%, 0%, 19.2%)
CIE-LABlab(55.53, 3.38, -42.17)
CIE-LCHlch(55.53, 42.31, 274.59°)
OKLaboklab(61.71% -0.0316 -0.1194)
OKLCHoklch(61.71% 0.124 255.2)
XYZxyz(23.0250, 23.4443, 61.6924)
Luminance0.2345 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87CE #CE964F
analogous
#4FC6CE #4F87CE #564FCE
triadic
#4F87CE #CE4F87 #87CE4F
tetradic
#4F87CE #CE4FC6 #CE964F #4FCE56
square
#4F87CE #CE4FC6 #CE964F #4FCE56
split-complementary
#4F87CE #CE564F #C6CE4F
monochromatic
#234C7F #3168AF #4F87CE #7FA8DB #AFC8E9

Accessibility & contrast

On white

3.69
#4F87CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#4F87CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87CE
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87CE#FFFFFF#000000##000000
##4F87CE1.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD1
Deuteranopia (green-blind)
#5880CD
Tritanopia (blue-blind)
#0097A1
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f87ce;
/* rgb */ color: rgb(79, 135, 206);
/* oklch */ color: oklch(61.7% 0.124 255.2);
Tailwind
colors: {
  custom: {
    50: '#8ba9dd',
    500: '#4f87ce',
    950: '#000000',
  },
}
SCSS
$custom: #4f87ce;
$custom-light: #8ba9dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87ce",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 206
  },
  "hsl": {
    "h": 213.543,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.61712,
    "c": 0.12353,
    "h": 255.2
  },
  "luminance": 0.23446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4F87CE

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

Preview Lab → · Contrast checker → · Palette generator →

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