#4D87CA#4D87CA

#4D87CA is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 61.4% C 0.119 H 253.3°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#4D87CA
RGBrgb(77, 135, 202)
HSLhsl(212, 54%, 55%)
HSVhsv(212, 62%, 79%)
CMYKcmyk(61.9%, 33.2%, 0%, 20.8%)
CIE-LABlab(55.24, 1.67, -40.36)
CIE-LCHlch(55.24, 40.40, 272.37°)
OKLaboklab(61.4% -0.0343 -0.1142)
OKLCHoklch(61.4% 0.119 253.3)
XYZxyz(22.3814, 23.1679, 59.1580)
Luminance0.2317 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D87CA #CA904D
analogous
#4DC6CA #4D87CA #514DCA
triadic
#4D87CA #CA4D87 #87CA4D
tetradic
#4D87CA #CA4DC6 #CA904D #4DCA51
square
#4D87CA #CA4DC6 #CA904D #4DCA51
split-complementary
#4D87CA #CA514D #C6CA4D
monochromatic
#244B79 #3269A8 #4D87CA #7CA7D8 #ABC7E6

Accessibility & contrast

On white

3.73
#4D87CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#4D87CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D87CA
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D87CA#FFFFFF#000000##000000
##4D87CA1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4d87ca;
/* rgb */ color: rgb(77, 135, 202);
/* oklch */ color: oklch(61.4% 0.119 253.3);
Tailwind
colors: {
  custom: {
    50: '#8aa9da',
    500: '#4d87ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d87ca;
$custom-light: #8aa9da;
$custom-dark: #000000;
JSON
{
  "hex": "#4d87ca",
  "rgb": {
    "r": 77,
    "g": 135,
    "b": 202
  },
  "hsl": {
    "h": 212.16,
    "s": 54.113,
    "l": 54.706
  },
  "oklch": {
    "l": 0.61404,
    "c": 0.1192,
    "h": 253.3
  },
  "luminance": 0.2317
}

Semantic roles & 50–950 ramp

primary
#4D87CA
secondary
#D4BB9F
accent
#994ADD
background
#F8FAFD
surface
#F0F4FB
border
#CBCED4
text
#0D0F15
muted
#7D7F83

Preview Lab

Preview with #4D87CA

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

Preview Lab → · Contrast checker → · Palette generator →

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