#4D7FCF#4D7FCF

#4D7FCF is a mid, vivid blue. Relative luminance 0.213; OKLCH L 59.9% C 0.134 H 259.4°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#4D7FCF
RGBrgb(77, 127, 207)
HSLhsl(217, 58%, 56%)
HSVhsv(217, 63%, 81%)
CMYKcmyk(62.8%, 38.6%, 0%, 18.8%)
CIE-LABlab(53.23, 8.15, -46.38)
CIE-LCHlch(53.23, 47.09, 279.97°)
OKLaboklab(59.92% -0.0247 -0.1318)
OKLCHoklch(59.92% 0.134 259.4)
XYZxyz(21.9084, 21.2595, 61.9683)
Luminance0.2126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FCF #CF9D4D
analogous
#4DC0CF #4D7FCF #5C4DCF
triadic
#4D7FCF #CF4D7F #7FCF4D
tetradic
#4D7FCF #CF4DC0 #CF9D4D #4DCF5C
square
#4D7FCF #CF4DC0 #CF9D4D #4DCF5C
split-complementary
#4D7FCF #CF5C4D #C0CF4D
monochromatic
#22467F #2F61AF #4D7FCF #7DA2DC #ADC4E9

Accessibility & contrast

On white

4.00
#4D7FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#4D7FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FCF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FCF#FFFFFF#000000##000000
##4D7FCF1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C86D2
Deuteranopia (green-blind)
#4A7ACD
Tritanopia (blue-blind)
#00919D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #4d7fcf;
/* rgb */ color: rgb(77, 127, 207);
/* oklch */ color: oklch(59.9% 0.134 259.4);
Tailwind
colors: {
  custom: {
    50: '#8aa3de',
    500: '#4d7fcf',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fcf;
$custom-light: #8aa3de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fcf",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 207
  },
  "hsl": {
    "h": 216.923,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.59918,
    "c": 0.1341,
    "h": 259.4
  },
  "luminance": 0.21262
}

Semantic roles & 50–950 ramp

primary
#4D7FCF
secondary
#D7C2A1
accent
#A647E1
background
#F9FAFD
surface
#F1F3FB
border
#CBCDD4
text
#0D0F15
muted
#7E7F83

Preview Lab

Preview with #4D7FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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