#4D5FD8#4D5FD8

#4D5FD8 is a mid, vivid blue. Relative luminance 0.147; OKLCH L 54.0% C 0.185 H 272.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#4D5FD8
RGBrgb(77, 95, 216)
HSLhsl(232, 64%, 57%)
HSVhsv(232, 64%, 85%)
CMYKcmyk(64.4%, 56%, 0%, 15.3%)
CIE-LABlab(45.25, 31.12, -64.32)
CIE-LCHlch(45.25, 71.45, 295.82°)
OKLaboklab(54.01% 0.0073 -0.1849)
OKLCHoklch(54.01% 0.185 272.3)
XYZxyz(19.5433, 14.7183, 66.7634)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FD8 #D8C64D
analogous
#4DA5D8 #4D5FD8 #804DD8
triadic
#4D5FD8 #D84D5F #5FD84D
tetradic
#4D5FD8 #D84DA5 #D8C64D #4DD880
square
#4D5FD8 #D84DA5 #D8C64D #4DD880
split-complementary
#4D5FD8 #D8804D #A5D84D
monochromatic
#1F2D8C #2A3DBE #4D5FD8 #7F8CE3 #B1B9EE

Accessibility & contrast

On white

5.32
#4D5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#4D5FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FD8
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FD8#FFFFFF#000000##FFFFFF
##4D5FD81.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0065D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #4d5fd8;
/* rgb */ color: rgb(77, 95, 216);
/* oklch */ color: oklch(54.0% 0.185 272.3);
Tailwind
colors: {
  custom: {
    50: '#8d8ce5',
    500: '#4d5fd8',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fd8;
$custom-light: #8d8ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fd8",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 216
  },
  "hsl": {
    "h": 232.23,
    "s": 64.055,
    "l": 57.451
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.18509,
    "h": 272.3
  },
  "luminance": 0.1472
}

Semantic roles & 50–950 ramp

primary
#4D5FD8
secondary
#DCD5A4
accent
#D241E7
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84

Preview Lab

Preview with #4D5FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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