#4D7DC4#4D7DC4

#4D7DC4 is a mid, vivid blue. Relative luminance 0.202; OKLCH L 58.8% C 0.121 H 258.0°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#4D7DC4
RGBrgb(77, 125, 196)
HSLhsl(216, 50%, 54%)
HSVhsv(216, 61%, 77%)
CMYKcmyk(60.7%, 36.2%, 0%, 23.1%)
CIE-LABlab(52.09, 5.63, -41.92)
CIE-LCHlch(52.09, 42.30, 277.65°)
OKLaboklab(58.85% -0.0252 -0.1188)
OKLCHoklch(58.85% 0.121 258)
XYZxyz(20.3545, 20.2287, 55.0457)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DC4 #C4944D
analogous
#4DB9C4 #4D7DC4 #584DC4
triadic
#4D7DC4 #C44D7D #7DC44D
tetradic
#4D7DC4 #C44DB9 #C4944D #4DC458
square
#4D7DC4 #C44DB9 #C4944D #4DC458
split-complementary
#4D7DC4 #C4584D #B9C44D
monochromatic
#254471 #35609F #4D7DC4 #7B9FD3 #A9C0E2

Accessibility & contrast

On white

4.16
#4D7DC4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#4D7DC4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DC4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DC4#FFFFFF#000000##000000
##4D7DC41.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F82C7
Deuteranopia (green-blind)
#4F77C3
Tritanopia (blue-blind)
#008D97
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #4d7dc4;
/* rgb */ color: rgb(77, 125, 196);
/* oklch */ color: oklch(58.8% 0.121 258.0);
Tailwind
colors: {
  custom: {
    50: '#89a2d6',
    500: '#4d7dc4',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dc4;
$custom-light: #89a2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dc4",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 196
  },
  "hsl": {
    "h": 215.798,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.58847,
    "c": 0.12144,
    "h": 258
  },
  "luminance": 0.20231
}

Semantic roles & 50–950 ramp

primary
#4D7DC4
secondary
#D0BB9D
accent
#A14EDA
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0F14
muted
#7D7E83

Preview Lab

Preview with #4D7DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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