#4D7CD7#4D7CD7

#4D7CD7 is a mid, vivid blue. Relative luminance 0.209; OKLCH L 59.8% C 0.148 H 262.3°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#4D7CD7
RGBrgb(77, 124, 215)
HSLhsl(220, 63%, 57%)
HSVhsv(220, 64%, 84%)
CMYKcmyk(64.2%, 42.3%, 0%, 15.7%)
CIE-LABlab(52.84, 12.73, -51.53)
CIE-LCHlch(52.84, 53.08, 283.87°)
OKLaboklab(59.75% -0.02 -0.147)
OKLCHoklch(59.75% 0.148 262.3)
XYZxyz(22.5297, 20.8973, 67.1231)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD7 #D7A84D
analogous
#4DC1D7 #4D7CD7 #634DD7
triadic
#4D7CD7 #D74D7C #7CD74D
tetradic
#4D7CD7 #D74DC1 #D7A84D #4DD763
square
#4D7CD7 #D74DC1 #D7A84D #4DD763
split-complementary
#4D7CD7 #D7634D #C1D74D
monochromatic
#1F448A #2A5CBC #4D7CD7 #7FA1E2 #B1C6ED

Accessibility & contrast

On white

4.05
#4D7CD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#4D7CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CD7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CD7#FFFFFF#000000##000000
##4D7CD71.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5285DB
Deuteranopia (green-blind)
#3C78D5
Tritanopia (blue-blind)
#00919F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7cd7;
/* rgb */ color: rgb(77, 124, 215);
/* oklch */ color: oklch(59.8% 0.148 262.3);
Tailwind
colors: {
  custom: {
    50: '#8ca1e4',
    500: '#4d7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd7;
$custom-light: #8ca1e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd7",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 219.565,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59754,
    "c": 0.14832,
    "h": 262.3
  },
  "luminance": 0.20899
}

Semantic roles & 50–950 ramp

primary
#4D7CD7
secondary
#DCC9A4
accent
#AE41E6
background
#F9F9FE
surface
#F1F2FC
border
#CBCCD5
text
#0D0E15
muted
#7E7E84

Preview Lab

Preview with #4D7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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