#4D7DCF#4D7DCF

#4D7DCF is a mid, vivid blue. Relative luminance 0.207; OKLCH L 59.5% C 0.136 H 260.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#4D7DCF
RGBrgb(77, 125, 207)
HSLhsl(218, 58%, 56%)
HSVhsv(218, 63%, 81%)
CMYKcmyk(62.8%, 39.6%, 0%, 18.8%)
CIE-LABlab(52.67, 9.37, -47.27)
CIE-LCHlch(52.67, 48.18, 281.21°)
OKLaboklab(59.48% -0.0226 -0.1344)
OKLCHoklch(59.48% 0.136 260.5)
XYZxyz(21.6527, 20.7480, 61.8831)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7DCF #CF9F4D
analogous
#4DBECF #4D7DCF #5E4DCF
triadic
#4D7DCF #CF4D7D #7DCF4D
tetradic
#4D7DCF #CF4DBE #CF9F4D #4DCF5E
square
#4D7DCF #CF4DBE #CF9F4D #4DCF5E
split-complementary
#4D7DCF #CF5E4D #BECF4D
monochromatic
#22457F #2F5FAF #4D7DCF #7DA0DC #ADC3E9

Accessibility & contrast

On white

4.08
#4D7DCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#4D7DCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7DCF
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7DCF#FFFFFF#000000##000000
##4D7DCF1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5984D2
Deuteranopia (green-blind)
#4678CD
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7dcf;
/* rgb */ color: rgb(77, 125, 207);
/* oklch */ color: oklch(59.5% 0.136 260.5);
Tailwind
colors: {
  custom: {
    50: '#8aa2de',
    500: '#4d7dcf',
    950: '#000000',
  },
}
SCSS
$custom: #4d7dcf;
$custom-light: #8aa2de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7dcf",
  "rgb": {
    "r": 77,
    "g": 125,
    "b": 207
  },
  "hsl": {
    "h": 217.846,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.13633,
    "h": 260.5
  },
  "luminance": 0.2075
}

Semantic roles & 50–950 ramp

primary
#4D7DCF
secondary
#D7C3A1
accent
#A847E1
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0F15
muted
#7E7E83

Preview Lab

Preview with #4D7DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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