#4F87C2#4F87C2

#4F87C2 is a mid, moderate cyan. Relative luminance 0.229; OKLCH L 61.1% C 0.108 H 251.1°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#4F87C2
RGBrgb(79, 135, 194)
HSLhsl(211, 49%, 54%)
HSVhsv(211, 59%, 76%)
CMYKcmyk(59.3%, 30.4%, 0%, 23.9%)
CIE-LABlab(54.95, -0.60, -36.28)
CIE-LCHlch(54.95, 36.28, 269.06°)
OKLaboklab(61.07% -0.0349 -0.1022)
OKLCHoklch(61.07% 0.108 251.1)
XYZxyz(21.6225, 22.8833, 54.3059)
Luminance0.2288 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87C2 #C28A4F
analogous
#4FC0C2 #4F87C2 #504FC2
triadic
#4F87C2 #C24F87 #87C24F
tetradic
#4F87C2 #C24FC0 #C28A4F #4FC250
square
#4F87C2 #C24FC0 #C28A4F #4FC250
split-complementary
#4F87C2 #C2504F #C0C24F
monochromatic
#274A70 #37699D #4F87C2 #7CA6D2 #AAC5E2

Accessibility & contrast

On white

3.77
#4F87C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#4F87C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87C2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87C2#FFFFFF#000000##000000
##4F87C21.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC5
Deuteranopia (green-blind)
#5F7EC1
Tritanopia (blue-blind)
#00959C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f87c2;
/* rgb */ color: rgb(79, 135, 194);
/* oklch */ color: oklch(61.1% 0.108 251.1);
Tailwind
colors: {
  custom: {
    50: '#89a9d4',
    500: '#4f87c2',
    950: '#000000',
  },
}
SCSS
$custom: #4f87c2;
$custom-light: #89a9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87c2",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 194
  },
  "hsl": {
    "h": 210.783,
    "s": 48.523,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61073,
    "c": 0.10806,
    "h": 251.1
  },
  "luminance": 0.22885
}

Semantic roles & 50–950 ramp

primary
#4F87C2
secondary
#CFB79E
accent
#9650D8
background
#F8FAFD
surface
#F0F4FA
border
#CBCED3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4F87C2

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

Preview Lab → · Contrast checker → · Palette generator →

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