#4D87BE#4D87BE

#4D87BE is a mid, moderate cyan. Relative luminance 0.226; OKLCH L 60.8% C 0.104 H 248.7°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#4D87BE
RGBrgb(77, 135, 190)
HSLhsl(209, 47%, 52%)
HSVhsv(209, 59%, 75%)
CMYKcmyk(59.5%, 28.9%, 0%, 25.5%)
CIE-LABlab(54.68, -2.31, -34.43)
CIE-LCHlch(54.68, 34.51, 266.16°)
OKLaboklab(60.78% -0.0377 -0.0969)
OKLCHoklch(60.78% 0.104 248.7)
XYZxyz(21.0154, 22.6215, 51.9641)
Luminance0.2262 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87BE #BE844D
analogous
#4DBEBD #4D87BE #4D4EBE
triadic
#4D87BE #BE4D87 #87BE4D
tetradic
#4D87BE #BD4DBE #BE844D #4EBE4D
square
#4D87BE #BD4DBE #BE844D #4EBE4D
split-complementary
#4D87BE #BE4D4E #BEBD4D
monochromatic
#27496A #376897 #4D87BE #7AA5CE #A7C3DF

Accessibility & contrast

On white

3.80
#4D87BE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#4D87BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87BE
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87BE#FFFFFF#000000##000000
##4D87BE1.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089C0
Deuteranopia (green-blind)
#617EBD
Tritanopia (blue-blind)
#00949A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d87be;
/* rgb */ color: rgb(77, 135, 190);
/* oklch */ color: oklch(60.8% 0.104 248.7);
Tailwind
colors: {
  custom: {
    50: '#88a9d2',
    500: '#4d87be',
    950: '#000000',
  },
}
SCSS
$custom: #4d87be;
$custom-light: #88a9d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87be",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 190
  },
  "hsl": {
    "h": 209.204,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.60775,
    "c": 0.10402,
    "h": 248.7
  },
  "luminance": 0.22623
}

Semantic roles & 50–950 ramp

primary
#4D87BE
secondary
#CCB39B
accent
#9252D6
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4D87BE

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

Preview Lab → · Contrast checker → · Palette generator →

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