#4D7FDF#4D7FDF

#4D7FDF is a mid, vivid blue. Relative luminance 0.221; OKLCH L 60.9% C 0.156 H 262.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#4D7FDF
RGBrgb(77, 127, 223)
HSLhsl(219, 70%, 59%)
HSVhsv(219, 65%, 87%)
CMYKcmyk(65.5%, 43%, 0%, 12.5%)
CIE-LABlab(54.11, 13.66, -54.00)
CIE-LCHlch(54.11, 55.70, 284.20°)
OKLaboklab(60.89% -0.0214 -0.1542)
OKLCHoklch(60.89% 0.156 262.1)
XYZxyz(23.9645, 22.0819, 72.7970)
Luminance0.2208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D7FDF #DFAD4D
analogous
#4DC8DF #4D7FDF #644DDF
triadic
#4D7FDF #DF4D7F #7FDF4D
tetradic
#4D7FDF #DF4DC8 #DFAD4D #4DDF64
square
#4D7FDF #DF4DC8 #DFAD4D #4DDF64
split-complementary
#4D7FDF #DF644D #C8DF4D
monochromatic
#1B4597 #245DCA #4D7FDF #81A4E8 #B5CAF2

Accessibility & contrast

On white

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

On black

5.42
#4D7FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #4D7FDF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D7FDF#FFFFFF#000000##000000
##4D7FDF1.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5289E3
Deuteranopia (green-blind)
#3A7BDD
Tritanopia (blue-blind)
#0095A4
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #4d7fdf;
/* rgb */ color: rgb(77, 127, 223);
/* oklch */ color: oklch(60.9% 0.156 262.1);
Tailwind
colors: {
  custom: {
    50: '#8da3e9',
    500: '#4d7fdf',
    950: '#000000',
  },
}
SCSS
$custom: #4d7fdf;
$custom-light: #8da3e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d7fdf",
  "rgb": {
    "r": 77,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 219.452,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60886,
    "c": 0.15565,
    "h": 262.1
  },
  "luminance": 0.22084
}

Semantic roles & 50–950 ramp

primary
#4D7FDF
secondary
#E1CDA7
accent
#B03BEC
background
#F9FAFE
surface
#F2F3FD
border
#CCCDD5
text
#0D0F16
muted
#7E7F84

Preview Lab

Preview with #4D7FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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