#4D7FCC#4D7FCC

#4D7FCC is a mid, vivid blue. Relative luminance 0.211; OKLCH L 59.7% C 0.130 H 258.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#4D7FCC
RGBrgb(77, 127, 204)
HSLhsl(216, 55%, 55%)
HSVhsv(216, 62%, 80%)
CMYKcmyk(62.3%, 37.7%, 0%, 20%)
CIE-LABlab(53.07, 7.13, -44.93)
CIE-LCHlch(53.07, 45.49, 279.02°)
OKLaboklab(59.74% -0.0253 -0.1276)
OKLCHoklch(59.74% 0.13 258.8)
XYZxyz(21.5452, 21.1142, 60.0551)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FCC #CC9A4D
analogous
#4DBFCC #4D7FCC #5A4DCC
triadic
#4D7FCC #CC4D7F #7FCC4D
tetradic
#4D7FCC #CC4DBF #CC9A4D #4DCC5A
square
#4D7FCC #CC4DBF #CC9A4D #4DCC5A
split-complementary
#4D7FCC #CC5A4D #BFCC4D
monochromatic
#23467B #3161AB #4D7FCC #7DA1DA #ACC3E7

Accessibility & contrast

On white

4.02
#4D7FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#4D7FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FCC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FCC#FFFFFF#000000##000000
##4D7FCC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E85CF
Deuteranopia (green-blind)
#4C79CA
Tritanopia (blue-blind)
#00909C
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7fcc;
/* rgb */ color: rgb(77, 127, 204);
/* oklch */ color: oklch(59.7% 0.130 258.8);
Tailwind
colors: {
  custom: {
    50: '#8aa3dc',
    500: '#4d7fcc',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fcc;
$custom-light: #8aa3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fcc",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 204
  },
  "hsl": {
    "h": 216.378,
    "s": 55.459,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.13006,
    "h": 258.8
  },
  "luminance": 0.21116
}

Semantic roles & 50–950 ramp

primary
#4D7FCC
secondary
#D5C0A0
accent
#A449DF
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D7FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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