#4D7FD1#4D7FD1

#4D7FD1 is a mid, vivid blue. Relative luminance 0.214; OKLCH L 60.0% C 0.137 H 259.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#4D7FD1
RGBrgb(77, 127, 209)
HSLhsl(217, 59%, 56%)
HSVhsv(217, 63%, 82%)
CMYKcmyk(63.2%, 39.2%, 0%, 18%)
CIE-LABlab(53.34, 8.84, -47.34)
CIE-LCHlch(53.34, 48.16, 280.57°)
OKLaboklab(60.04% -0.0242 -0.1346)
OKLCHoklch(60.04% 0.137 259.8)
XYZxyz(22.1545, 21.3579, 63.2642)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FD1 #D19F4D
analogous
#4DC1D1 #4D7FD1 #5D4DD1
triadic
#4D7FD1 #D14D7F #7FD14D
tetradic
#4D7FD1 #D14DC1 #D19F4D #4DD15D
square
#4D7FD1 #D14DC1 #D19F4D #4DD15D
split-complementary
#4D7FD1 #D15D4D #C1D14D
monochromatic
#224682 #2E60B3 #4D7FD1 #7EA2DE #AEC5EA

Accessibility & contrast

On white

3.98
#4D7FD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#4D7FD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FD1
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FD1#FFFFFF#000000##000000
##4D7FD11.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B86D4
Deuteranopia (green-blind)
#487ACF
Tritanopia (blue-blind)
#00929E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7fd1;
/* rgb */ color: rgb(77, 127, 209);
/* oklch */ color: oklch(60.0% 0.137 259.8);
Tailwind
colors: {
  custom: {
    50: '#8ba3df',
    500: '#4d7fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fd1;
$custom-light: #8ba3df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fd1",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 209
  },
  "hsl": {
    "h": 217.273,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60035,
    "c": 0.1368,
    "h": 259.8
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#4D7FD1
secondary
#D8C4A2
accent
#A746E2
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D7FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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