#4F87D5#4F87D5

#4F87D5 is a light, vivid cyan. Relative luminance 0.238; OKLCH L 62.1% C 0.133 H 257.0°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#4F87D5
RGBrgb(79, 135, 213)
HSLhsl(215, 61%, 57%)
HSVhsv(215, 63%, 84%)
CMYKcmyk(62.9%, 36.6%, 0%, 16.5%)
CIE-LABlab(55.88, 5.74, -45.56)
CIE-LCHlch(55.88, 45.92, 277.18°)
OKLaboklab(62.1% -0.0299 -0.1293)
OKLCHoklch(62.1% 0.133 257)
XYZxyz(23.8944, 23.7921, 66.2710)
Luminance0.2379 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87D5 #D59D4F
analogous
#4FCAD5 #4F87D5 #5A4FD5
triadic
#4F87D5 #D54F87 #87D54F
tetradic
#4F87D5 #D54FCA #D59D4F #4FD55A
square
#4F87D5 #D54FCA #D59D4F #4FD55A
split-complementary
#4F87D5 #D55A4F #CAD54F
monochromatic
#214C89 #2C68BA #4F87D5 #80A9E1 #B2CAED

Accessibility & contrast

On white

3.65
#4F87D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#4F87D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87D5
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87D5#FFFFFF#000000##000000
##4F87D51.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DD8
Deuteranopia (green-blind)
#5380D3
Tritanopia (blue-blind)
#0099A4
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #4f87d5;
/* rgb */ color: rgb(79, 135, 213);
/* oklch */ color: oklch(62.1% 0.133 257.0);
Tailwind
colors: {
  custom: {
    50: '#8ca9e2',
    500: '#4f87d5',
    950: '#000000',
  },
}
SCSS
$custom: #4f87d5;
$custom-light: #8ca9e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87d5",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 213
  },
  "hsl": {
    "h": 214.925,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62102,
    "c": 0.13271,
    "h": 257
  },
  "luminance": 0.23794
}

Semantic roles & 50–950 ramp

primary
#4F87D5
secondary
#DBC4A5
accent
#A143E5
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F87D5

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

Preview Lab → · Contrast checker → · Palette generator →

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