#4D7BC7#4D7BC7

#4D7BC7 is a mid, vivid blue. Relative luminance 0.199; OKLCH L 58.6% C 0.128 H 259.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#4D7BC7
RGBrgb(77, 123, 199)
HSLhsl(217, 52%, 54%)
HSVhsv(217, 61%, 78%)
CMYKcmyk(61.3%, 38.2%, 0%, 22%)
CIE-LABlab(51.68, 7.86, -44.28)
CIE-LCHlch(51.68, 44.97, 280.06°)
OKLaboklab(58.58% -0.0223 -0.1257)
OKLCHoklch(58.58% 0.128 259.9)
XYZxyz(20.4487, 19.8654, 56.7785)
Luminance0.1987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7BC7 #C7994D
analogous
#4DB8C7 #4D7BC7 #5C4DC7
triadic
#4D7BC7 #C74D7B #7BC74D
tetradic
#4D7BC7 #C74DB8 #C7994D #4DC75C
square
#4D7BC7 #C74DB8 #C7994D #4DC75C
split-complementary
#4D7BC7 #C75C4D #B8C74D
monochromatic
#254375 #335EA3 #4D7BC7 #7C9ED6 #AAC0E4

Accessibility & contrast

On white

4.22
#4D7BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#4D7BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7BC7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7BC7#FFFFFF#000000##000000
##4D7BC71.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A81CA
Deuteranopia (green-blind)
#4976C5
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #4d7bc7;
/* rgb */ color: rgb(77, 123, 199);
/* oklch */ color: oklch(58.6% 0.128 259.9);
Tailwind
colors: {
  custom: {
    50: '#89a0d8',
    500: '#4d7bc7',
    950: '#000000',
  },
}
SCSS
$custom: #4d7bc7;
$custom-light: #89a0d8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7bc7",
  "rgb": {
    "r": 77,
    "g": 123,
    "b": 199
  },
  "hsl": {
    "h": 217.377,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.58579,
    "c": 0.12769,
    "h": 259.9
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#4D7BC7
secondary
#D2BE9E
accent
#A64CDC
background
#F8F9FD
surface
#F0F2FA
border
#CBCCD3
text
#0C0E14
muted
#7D7E83

Preview Lab

Preview with #4D7BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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