#4D7CD1#4D7CD1

#4D7CD1 is a mid, vivid blue. Relative luminance 0.206; OKLCH L 59.4% C 0.140 H 261.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#4D7CD1
RGBrgb(77, 124, 209)
HSLhsl(219, 59%, 56%)
HSVhsv(219, 63%, 82%)
CMYKcmyk(63.2%, 40.7%, 0%, 18%)
CIE-LABlab(52.50, 10.66, -48.67)
CIE-LCHlch(52.50, 49.82, 282.36°)
OKLaboklab(59.39% -0.0212 -0.1386)
OKLCHoklch(59.39% 0.14 261.3)
XYZxyz(21.7728, 20.5945, 63.1370)
Luminance0.2060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD1 #D1A24D
analogous
#4DBED1 #4D7CD1 #604DD1
triadic
#4D7CD1 #D14D7C #7CD14D
tetradic
#4D7CD1 #D14DBE #D1A24D #4DD160
square
#4D7CD1 #D14DBE #D1A24D #4DD160
split-complementary
#4D7CD1 #D1604D #BED14D
monochromatic
#224482 #2E5DB3 #4D7CD1 #7EA0DE #AEC4EA

Accessibility & contrast

On white

4.10
#4D7CD1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#4D7CD1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7CD1
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7CD1#FFFFFF#000000##000000
##4D7CD11.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5684D4
Deuteranopia (green-blind)
#4378CF
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #4d7cd1;
/* rgb */ color: rgb(77, 124, 209);
/* oklch */ color: oklch(59.4% 0.140 261.3);
Tailwind
colors: {
  custom: {
    50: '#8ba1df',
    500: '#4d7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd1;
$custom-light: #8ba1df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd1",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 218.636,
    "s": 58.929,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.14018,
    "h": 261.3
  },
  "luminance": 0.20597
}

Semantic roles & 50–950 ramp

primary
#4D7CD1
secondary
#D8C5A2
accent
#AA46E2
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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