#4F87CB#4F87CB

#4F87CB is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 61.5% C 0.120 H 254.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#4F87CB
RGBrgb(79, 135, 203)
HSLhsl(213, 54%, 55%)
HSVhsv(213, 61%, 80%)
CMYKcmyk(61.1%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.38, 2.38, -40.71)
CIE-LCHlch(55.38, 40.78, 273.35°)
OKLaboklab(61.55% -0.0324 -0.1151)
OKLCHoklch(61.55% 0.12 254.3)
XYZxyz(22.6640, 23.2999, 59.7913)
Luminance0.2330 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87CB #CB934F
analogous
#4FC5CB #4F87CB #554FCB
triadic
#4F87CB #CB4F87 #87CB4F
tetradic
#4F87CB #CB4FC5 #CB934F #4FCB55
square
#4F87CB #CB4FC5 #CB934F #4FCB55
split-complementary
#4F87CB #CB554F #C5CB4F
monochromatic
#244C7B #3269AA #4F87CB #7EA7D9 #ADC7E7

Accessibility & contrast

On white

3.71
#4F87CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#4F87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87CB
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87CB#FFFFFF#000000##000000
##4F87CB1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#5A7FCA
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #4f87cb;
/* rgb */ color: rgb(79, 135, 203);
/* oklch */ color: oklch(61.5% 0.120 254.3);
Tailwind
colors: {
  custom: {
    50: '#8ba9db',
    500: '#4f87cb',
    950: '#000000',
  },
}
SCSS
$custom: #4f87cb;
$custom-light: #8ba9db;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87cb",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 212.903,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.11961,
    "h": 254.3
  },
  "luminance": 0.23302
}

Semantic roles & 50–950 ramp

primary
#4F87CB
secondary
#D5BDA1
accent
#9B4ADE
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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