#4D7FC7#4D7FC7

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

Color values

HEX#4D7FC7
RGBrgb(77, 127, 199)
HSLhsl(215, 52%, 54%)
HSVhsv(215, 61%, 78%)
CMYKcmyk(61.3%, 36.2%, 0%, 22%)
CIE-LABlab(52.82, 5.44, -42.49)
CIE-LCHlch(52.82, 42.84, 277.29°)
OKLaboklab(59.46% -0.0265 -0.1204)
OKLCHoklch(59.46% 0.123 257.6)
XYZxyz(20.9551, 20.8781, 56.9473)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FC7 #C7954D
analogous
#4DBCC7 #4D7FC7 #584DC7
triadic
#4D7FC7 #C74D7F #7FC74D
tetradic
#4D7FC7 #C74DBC #C7954D #4DC758
square
#4D7FC7 #C74DBC #C7954D #4DC758
split-complementary
#4D7FC7 #C7584D #BCC74D
monochromatic
#254675 #3361A3 #4D7FC7 #7CA0D6 #AAC2E4

Accessibility & contrast

On white

4.06
#4D7FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##4D7FC7#FFFFFF#000000##000000
##4D7FC71.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6084CA
Deuteranopia (green-blind)
#5079C6
Tritanopia (blue-blind)
#008F99
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #4d7fc7;
/* rgb */ color: rgb(77, 127, 199);
/* oklch */ color: oklch(59.5% 0.123 257.6);
Tailwind
colors: {
  custom: {
    50: '#89a3d8',
    500: '#4d7fc7',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fc7;
$custom-light: #89a3d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fc7",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 199
  },
  "hsl": {
    "h": 215.41,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.59458,
    "c": 0.12334,
    "h": 257.6
  },
  "luminance": 0.2088
}

Semantic roles & 50–950 ramp

primary
#4D7FC7
secondary
#D2BD9E
accent
#A14CDC
background
#F8FAFD
surface
#F0F3FA
border
#CBCDD3
text
#0C0F14
muted
#7D7F83

Preview Lab

Preview with #4D7FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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