#4D7FD7#4D7FD7

#4D7FD7 is a mid, vivid blue. Relative luminance 0.217; OKLCH L 60.4% C 0.145 H 260.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#4D7FD7
RGBrgb(77, 127, 215)
HSLhsl(218, 63%, 57%)
HSVhsv(218, 64%, 84%)
CMYKcmyk(64.2%, 40.9%, 0%, 15.7%)
CIE-LABlab(53.66, 10.90, -50.21)
CIE-LCHlch(53.66, 51.38, 282.24°)
OKLaboklab(60.39% -0.023 -0.1431)
OKLCHoklch(60.39% 0.145 260.9)
XYZxyz(22.9113, 21.6606, 67.2503)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FD7 #D7A54D
analogous
#4DC4D7 #4D7FD7 #604DD7
triadic
#4D7FD7 #D74D7F #7FD74D
tetradic
#4D7FD7 #D74DC4 #D7A54D #4DD760
square
#4D7FD7 #D74DC4 #D7A54D #4DD760
split-complementary
#4D7FD7 #D7604D #C4D74D
monochromatic
#1F468A #2A5FBC #4D7FD7 #7FA3E2 #B1C7ED

Accessibility & contrast

On white

3.94
#4D7FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#4D7FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FD7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FD7#FFFFFF#000000##000000
##4D7FD71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5787DA
Deuteranopia (green-blind)
#427AD5
Tritanopia (blue-blind)
#0093A0
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #4d7fd7;
/* rgb */ color: rgb(77, 127, 215);
/* oklch */ color: oklch(60.4% 0.145 260.9);
Tailwind
colors: {
  custom: {
    50: '#8ca3e4',
    500: '#4d7fd7',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fd7;
$custom-light: #8ca3e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fd7",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 215
  },
  "hsl": {
    "h": 218.261,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60394,
    "c": 0.14489,
    "h": 260.9
  },
  "luminance": 0.21663
}

Semantic roles & 50–950 ramp

primary
#4D7FD7
secondary
#DCC8A4
accent
#AB41E6
background
#F9FAFE
surface
#F1F3FC
border
#CBCDD5
text
#0D0F15
muted
#7E7F84

Preview Lab

Preview with #4D7FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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