#4D87BC#4D87BC

#4D87BC is a mid, moderate cyan. Relative luminance 0.225; OKLCH L 60.7% C 0.102 H 247.8°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#4D87BC
RGBrgb(77, 135, 188)
HSLhsl(209, 45%, 52%)
HSVhsv(209, 59%, 74%)
CMYKcmyk(59%, 28.2%, 0%, 26.3%)
CIE-LABlab(54.59, -2.97, -33.43)
CIE-LCHlch(54.59, 33.56, 264.93°)
OKLaboklab(60.67% -0.0384 -0.094)
OKLCHoklch(60.67% 0.102 247.8)
XYZxyz(20.7983, 22.5347, 50.8208)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87BC #BC824D
analogous
#4DBCBA #4D87BC #4D50BC
triadic
#4D87BC #BC4D87 #87BC4D
tetradic
#4D87BC #BA4DBC #BC824D #50BC4D
square
#4D87BC #BA4DBC #BC824D #50BC4D
split-complementary
#4D87BC #BC4D50 #BCBA4D
monochromatic
#274968 #386894 #4D87BC #79A5CD #A6C3DD

Accessibility & contrast

On white

3.81
#4D87BC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#4D87BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87BC
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87BC#FFFFFF#000000##000000
##4D87BC1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7089BE
Deuteranopia (green-blind)
#627EBB
Tritanopia (blue-blind)
#009399
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #4d87bc;
/* rgb */ color: rgb(77, 135, 188);
/* oklch */ color: oklch(60.7% 0.102 247.8);
Tailwind
colors: {
  custom: {
    50: '#88a9d0',
    500: '#4d87bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d87bc;
$custom-light: #88a9d0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87bc",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 188
  },
  "hsl": {
    "h": 208.649,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.60674,
    "c": 0.10157,
    "h": 247.8
  },
  "luminance": 0.22537
}

Semantic roles & 50–950 ramp

primary
#4D87BC
secondary
#CBB19A
accent
#9153D5
background
#F8FAFC
surface
#F0F4F9
border
#CBCED2
text
#0C0F14
muted
#7D7F82

Preview Lab

Preview with #4D87BC

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

Preview Lab → · Contrast checker → · Palette generator →

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