#4F87CC#4F87CC

#4F87CC is a mid, vivid cyan. Relative luminance 0.234; OKLCH L 61.6% C 0.121 H 254.6°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#4F87CC
RGBrgb(79, 135, 204)
HSLhsl(213, 55%, 55%)
HSVhsv(213, 61%, 80%)
CMYKcmyk(61.3%, 33.8%, 0%, 20%)
CIE-LABlab(55.43, 2.72, -41.20)
CIE-LCHlch(55.43, 41.29, 273.77°)
OKLaboklab(61.6% -0.0321 -0.1166)
OKLCHoklch(61.6% 0.121 254.6)
XYZxyz(22.7836, 23.3477, 60.4209)
Luminance0.2335 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87CC #CC944F
analogous
#4FC5CC #4F87CC #554FCC
triadic
#4F87CC #CC4F87 #87CC4F
tetradic
#4F87CC #CC4FC5 #CC944F #4FCC55
square
#4F87CC #CC4FC5 #CC944F #4FCC55
split-complementary
#4F87CC #CC554F #C5CC4F
monochromatic
#244C7D #3269AC #4F87CC #7EA7DA #AEC8E7

Accessibility & contrast

On white

3.70
#4F87CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#4F87CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87CC
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87CC#FFFFFF#000000##000000
##4F87CC1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCF
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f87cc;
/* rgb */ color: rgb(79, 135, 204);
/* oklch */ color: oklch(61.6% 0.121 254.6);
Tailwind
colors: {
  custom: {
    50: '#8ba9dc',
    500: '#4f87cc',
    950: '#000000',
  },
}
SCSS
$custom: #4f87cc;
$custom-light: #8ba9dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87cc",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 204
  },
  "hsl": {
    "h": 213.12,
    "s": 55.066,
    "l": 55.49
  },
  "oklch": {
    "l": 0.61603,
    "c": 0.12091,
    "h": 254.6
  },
  "luminance": 0.2335
}

Semantic roles & 50–950 ramp

primary
#4F87CC
secondary
#D5BEA1
accent
#9C49DE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F87CC

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

Preview Lab → · Contrast checker → · Palette generator →

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