#4D7FDE#4D7FDE

#4D7FDE is a mid, vivid blue. Relative luminance 0.220; OKLCH L 60.8% C 0.154 H 262.0°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#4D7FDE
RGBrgb(77, 127, 222)
HSLhsl(219, 69%, 59%)
HSVhsv(219, 65%, 87%)
CMYKcmyk(65.3%, 42.8%, 0%, 12.9%)
CIE-LABlab(54.06, 13.31, -53.53)
CIE-LCHlch(54.06, 55.16, 283.97°)
OKLaboklab(60.82% -0.0216 -0.1528)
OKLCHoklch(60.82% 0.154 262)
XYZxyz(23.8301, 22.0282, 72.0891)
Luminance0.2203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FDE #DEAC4D
analogous
#4DC7DE #4D7FDE #634DDE
triadic
#4D7FDE #DE4D7F #7FDE4D
tetradic
#4D7FDE #DE4DC7 #DEAC4D #4DDE63
square
#4D7FDE #DE4DC7 #DEAC4D #4DDE63
split-complementary
#4D7FDE #DE634D #C7DE4D
monochromatic
#1C4595 #255EC9 #4D7FDE #81A4E8 #B4C9F1

Accessibility & contrast

On white

3.88
#4D7FDE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#4D7FDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FDE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FDE#FFFFFF#000000##000000
##4D7FDE1.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5288E2
Deuteranopia (green-blind)
#3B7BDC
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7fde;
/* rgb */ color: rgb(77, 127, 222);
/* oklch */ color: oklch(60.8% 0.154 262.0);
Tailwind
colors: {
  custom: {
    50: '#8da3e9',
    500: '#4d7fde',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fde;
$custom-light: #8da3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fde",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 219.31,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.15431,
    "h": 262
  },
  "luminance": 0.2203
}

Semantic roles & 50–950 ramp

primary
#4D7FDE
secondary
#E0CCA7
accent
#AF3CEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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