#4F87CA#4F87CA

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

Color values

HEX#4F87CA
RGBrgb(79, 135, 202)
HSLhsl(213, 54%, 55%)
HSVhsv(213, 61%, 79%)
CMYKcmyk(60.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.33, 2.05, -40.22)
CIE-LCHlch(55.33, 40.27, 272.92°)
OKLaboklab(61.5% -0.0327 -0.1137)
OKLCHoklch(61.5% 0.118 254)
XYZxyz(22.5453, 23.2524, 59.1657)
Luminance0.2325 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F87CA #CA924F
analogous
#4FC5CA #4F87CA #544FCA
triadic
#4F87CA #CA4F87 #87CA4F
tetradic
#4F87CA #CA4FC5 #CA924F #4FCA54
square
#4F87CA #CA4FC5 #CA924F #4FCA54
split-complementary
#4F87CA #CA544F #C5CA4F
monochromatic
#254B7A #3369A9 #4F87CA #7EA7D8 #ADC7E6

Accessibility & contrast

On white

3.72
#4F87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#4F87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4F87CA
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F87CA#FFFFFF#000000##000000
##4F87CA1.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCD
Deuteranopia (green-blind)
#5A7FC9
Tritanopia (blue-blind)
#00969F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4f87ca;
/* rgb */ color: rgb(79, 135, 202);
/* oklch */ color: oklch(61.5% 0.118 254.0);
Tailwind
colors: {
  custom: {
    50: '#8ba9da',
    500: '#4f87ca',
    950: '#000000',
  },
}
SCSS
$custom: #4f87ca;
$custom-light: #8ba9da;
$custom-dark: #000000;
JSON
{
  "hex": "#4f87ca",
  "rgb": {
    "r": 79,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 212.683,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61495,
    "c": 0.11831,
    "h": 254
  },
  "luminance": 0.23254
}

Semantic roles & 50–950 ramp

primary
#4F87CA
secondary
#D4BDA1
accent
#9A4BDD
background
#F9FAFD
surface
#F1F4FB
border
#CBCED4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4F87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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