#4F87B2#4F87B2

#4F87B2 is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 60.3% C 0.089 H 243.2°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#4F87B2
RGBrgb(79, 135, 178)
HSLhsl(206, 39%, 50%)
HSVhsv(206, 56%, 70%)
CMYKcmyk(55.6%, 24.2%, 0%, 30.2%)
CIE-LABlab(54.24, -5.76, -28.25)
CIE-LCHlch(54.24, 28.83, 258.47°)
OKLaboklab(60.28% -0.04 -0.0791)
OKLCHoklch(60.28% 0.089 243.2)
XYZxyz(19.9214, 22.2029, 45.3466)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87B2 #B27A4F
analogous
#4FB2AB #4F87B2 #4F55B2
triadic
#4F87B2 #B24F87 #87B24F
tetradic
#4F87B2 #AB4FB2 #B27A4F #55B24F
square
#4F87B2 #AB4FB2 #B27A4F #55B24F
split-complementary
#4F87B2 #B24F55 #B2AB4F
monochromatic
#29475E #3C6788 #4F87B2 #7AA4C5 #A4C1D7

Accessibility & contrast

On white

3.86
#4F87B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#4F87B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87B2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87B2#FFFFFF#000000##000000
##4F87B21.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7487B4
Deuteranopia (green-blind)
#677DB1
Tritanopia (blue-blind)
#009196
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #4f87b2;
/* rgb */ color: rgb(79, 135, 178);
/* oklch */ color: oklch(60.3% 0.089 243.2);
Tailwind
colors: {
  custom: {
    50: '#88a9c9',
    500: '#4f87b2',
    950: '#000000',
  },
}
SCSS
$custom: #4f87b2;
$custom-light: #88a9c9;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87b2",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 178
  },
  "hsl": {
    "h": 206.061,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.6028,
    "c": 0.08861,
    "h": 243.2
  },
  "luminance": 0.22205
}

Semantic roles & 50–950 ramp

primary
#4F87B2
secondary
#C4AC98
accent
#8C59CF
background
#F8FAFC
surface
#F0F4F8
border
#CBCED1
text
#0C1013
muted
#7D7F82

Preview Lab

Preview with #4F87B2

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

Preview Lab → · Contrast checker → · Palette generator →

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