#4D7CD4#4D7CD4

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

Color values

HEX#4D7CD4
RGBrgb(77, 124, 212)
HSLhsl(219, 61%, 57%)
HSVhsv(219, 64%, 83%)
CMYKcmyk(63.7%, 41.5%, 0%, 16.9%)
CIE-LABlab(52.67, 11.69, -50.10)
CIE-LCHlch(52.67, 51.45, 283.14°)
OKLaboklab(59.57% -0.0206 -0.1428)
OKLCHoklch(59.57% 0.144 261.8)
XYZxyz(22.1477, 20.7445, 65.1115)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7CD4 #D4A54D
analogous
#4DC0D4 #4D7CD4 #624DD4
triadic
#4D7CD4 #D44D7C #7CD44D
tetradic
#4D7CD4 #D44DC0 #D4A54D #4DD462
square
#4D7CD4 #D44DC0 #D4A54D #4DD462
split-complementary
#4D7CD4 #D4624D #C0D44D
monochromatic
#204486 #2C5DB7 #4D7CD4 #7EA0E0 #B0C5EC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7CD4#FFFFFF#000000##000000
##4D7CD41.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)
#5484D7
Deuteranopia (green-blind)
#4078D2
Tritanopia (blue-blind)
#00909E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7cd4;
/* rgb */ color: rgb(77, 124, 212);
/* oklch */ color: oklch(59.6% 0.144 261.8);
Tailwind
colors: {
  custom: {
    50: '#8ba1e2',
    500: '#4d7cd4',
    950: '#000000',
  },
}
SCSS
$custom: #4d7cd4;
$custom-light: #8ba1e2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7cd4",
  "rgb": {
    "r": 77,
    "g": 124,
    "b": 212
  },
  "hsl": {
    "h": 219.111,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5957,
    "c": 0.14425,
    "h": 261.8
  },
  "luminance": 0.20747
}

Semantic roles & 50–950 ramp

primary
#4D7CD4
secondary
#DAC7A3
accent
#AC44E4
background
#F9F9FD
surface
#F1F2FB
border
#CBCCD4
text
#0D0E15
muted
#7E7E83

Preview Lab

Preview with #4D7CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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