#4F87BF#4F87BF

#4F87BF is a mid, moderate cyan. Relative luminance 0.228; OKLCH L 60.9% C 0.104 H 249.9°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#4F87BF
RGBrgb(79, 135, 191)
HSLhsl(210, 47%, 53%)
HSVhsv(210, 59%, 75%)
CMYKcmyk(58.6%, 29.3%, 0%, 25.1%)
CIE-LABlab(54.81, -1.58, -34.79)
CIE-LCHlch(54.81, 34.82, 267.40°)
OKLaboklab(60.92% -0.0358 -0.0979)
OKLCHoklch(60.92% 0.104 249.9)
XYZxyz(21.2890, 22.7499, 52.5494)
Luminance0.2275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87BF #BF874F
analogous
#4FBFBF #4F87BF #4F4FBF
triadic
#4F87BF #BF4F87 #87BF4F
tetradic
#4F87BF #BF4FBF #BF874F #4FBF4F
square
#4F87BF #BF4FBF #BF874F #4FBF4F
split-complementary
#4F87BF #BF4F4F #BFBF4F
monochromatic
#274A6C #386899 #4F87BF #7CA6CF #A9C4E0

Accessibility & contrast

On white

3.78
#4F87BF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#4F87BF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87BF#FFFFFF#000000##000000
##4F87BF1.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C1
Deuteranopia (green-blind)
#617EBE
Tritanopia (blue-blind)
#00949B
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4f87bf;
/* rgb */ color: rgb(79, 135, 191);
/* oklch */ color: oklch(60.9% 0.104 249.9);
Tailwind
colors: {
  custom: {
    50: '#89a9d2',
    500: '#4f87bf',
    950: '#000000',
  },
}
SCSS
$custom: #4f87bf;
$custom-light: #89a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87bf",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 191
  },
  "hsl": {
    "h": 210,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60919,
    "c": 0.10428,
    "h": 249.9
  },
  "luminance": 0.22752
}

Semantic roles & 50–950 ramp

primary
#4F87BF
secondary
#CDB59D
accent
#9451D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4F87BF

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

Preview Lab → · Contrast checker → · Palette generator →

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