#4D87CB#4D87CB

#4D87CB is a mid, vivid cyan. Relative luminance 0.232; OKLCH L 61.5% C 0.120 H 253.6°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#4D87CB
RGBrgb(77, 135, 203)
HSLhsl(212, 55%, 55%)
HSVhsv(212, 62%, 80%)
CMYKcmyk(62.1%, 33.5%, 0%, 20.4%)
CIE-LABlab(55.29, 2.00, -40.85)
CIE-LCHlch(55.29, 40.90, 272.81°)
OKLaboklab(61.46% -0.034 -0.1156)
OKLCHoklch(61.46% 0.12 253.6)
XYZxyz(22.5001, 23.2154, 59.7836)
Luminance0.2322 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87CB #CB914D
analogous
#4DC6CB #4D87CB #524DCB
triadic
#4D87CB #CB4D87 #87CB4D
tetradic
#4D87CB #CB4DC6 #CB914D #4DCB52
square
#4D87CB #CB4DC6 #CB914D #4DCB52
split-complementary
#4D87CB #CB524D #C6CB4D
monochromatic
#244B7A #3169A9 #4D87CB #7CA7D9 #ACC7E7

Accessibility & contrast

On white

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

On black

5.64
#4D87CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87CB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87CB#FFFFFF#000000##000000
##4D87CB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#597FCA
Tritanopia (blue-blind)
#0097A0
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #4d87cb;
/* rgb */ color: rgb(77, 135, 203);
/* oklch */ color: oklch(61.5% 0.120 253.6);
Tailwind
colors: {
  custom: {
    50: '#8aa9db',
    500: '#4d87cb',
    950: '#000000',
  },
}
SCSS
$custom: #4d87cb;
$custom-light: #8aa9db;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87cb",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 203
  },
  "hsl": {
    "h": 212.381,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61458,
    "c": 0.12048,
    "h": 253.6
  },
  "luminance": 0.23218
}

Semantic roles & 50–950 ramp

primary
#4D87CB
secondary
#D4BC9F
accent
#9A4ADE
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4D87CB

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

Preview Lab → · Contrast checker → · Palette generator →

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