#4D7DB8#4D7DB8

#4D7DB8 is a mid, moderate cyan. Relative luminance 0.197; OKLCH L 58.2% C 0.105 H 254.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#4D7DB8
RGBrgb(77, 125, 184)
HSLhsl(213, 43%, 51%)
HSVhsv(213, 58%, 72%)
CMYKcmyk(58.2%, 32.1%, 0%, 27.8%)
CIE-LABlab(51.50, 1.62, -35.98)
CIE-LCHlch(51.50, 36.02, 272.58°)
OKLaboklab(58.19% -0.0283 -0.1015)
OKLCHoklch(58.19% 0.105 254.4)
XYZxyz(19.0428, 19.7041, 48.1379)
Luminance0.1971 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DB8 #B8884D
analogous
#4DB2B8 #4D7DB8 #524DB8
triadic
#4D7DB8 #B84D7D #7DB84D
tetradic
#4D7DB8 #B84DB2 #B8884D #4DB852
square
#4D7DB8 #B84DB2 #B8884D #4DB852
split-complementary
#4D7DB8 #B8524D #B2B84D
monochromatic
#284263 #395F8F #4D7DB8 #799DC9 #A4BDDB

Accessibility & contrast

On white

4.25
#4D7DB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#4D7DB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DB8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DB8#FFFFFF#000000##000000
##4D7DB81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580BB
Deuteranopia (green-blind)
#5776B7
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d7db8;
/* rgb */ color: rgb(77, 125, 184);
/* oklch */ color: oklch(58.2% 0.105 254.4);
Tailwind
colors: {
  custom: {
    50: '#87a2cd',
    500: '#4d7db8',
    950: '#000000',
  },
}
SCSS
$custom: #4d7db8;
$custom-light: #87a2cd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7db8",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 184
  },
  "hsl": {
    "h": 213.084,
    "s": 42.972,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.10538,
    "h": 254.4
  },
  "luminance": 0.19706
}

Semantic roles & 50–950 ramp

primary
#4D7DB8
secondary
#C8B399
accent
#9A55D3
background
#F8F9FC
surface
#F0F2F9
border
#CBCCD2
text
#0C0F13
muted
#7D7E82

Preview Lab

Preview with #4D7DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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