#4D5FD4#4D5FD4

#4D5FD4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.7% C 0.180 H 272.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#4D5FD4
RGBrgb(77, 95, 212)
HSLhsl(232, 61%, 57%)
HSVhsv(232, 64%, 83%)
CMYKcmyk(63.7%, 55.2%, 0%, 16.9%)
CIE-LABlab(44.96, 29.76, -62.49)
CIE-LCHlch(44.96, 69.22, 295.46°)
OKLaboklab(53.7% 0.0072 -0.1796)
OKLCHoklch(53.7% 0.18 272.3)
XYZxyz(19.0325, 14.5140, 64.0731)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D5FD4 #D4C24D
analogous
#4DA3D4 #4D5FD4 #7F4DD4
triadic
#4D5FD4 #D44D5F #5FD44D
tetradic
#4D5FD4 #D44DA3 #D4C24D #4DD47F
square
#4D5FD4 #D44DA3 #D4C24D #4DD47F
split-complementary
#4D5FD4 #D47F4D #A3D44D
monochromatic
#202E86 #2C3FB7 #4D5FD4 #7E8BE0 #B0B8EC

Accessibility & contrast

On white

5.38
#4D5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#4D5FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D5FD4
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D5FD4#FFFFFF#000000##FFFFFF
##4D5FD41.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #4d5fd4;
/* rgb */ color: rgb(77, 95, 212);
/* oklch */ color: oklch(53.7% 0.180 272.3);
Tailwind
colors: {
  custom: {
    50: '#8c8ce2',
    500: '#4d5fd4',
    950: '#000000',
  },
}
SCSS
$custom: #4d5fd4;
$custom-light: #8c8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#4d5fd4",
  "rgb": {
    "r": 77,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 232,
    "s": 61.086,
    "l": 56.667
  },
  "oklch": {
    "l": 0.53703,
    "c": 0.17973,
    "h": 272.3
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#4D5FD4
secondary
#DAD3A3
accent
#CF44E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83

Preview Lab

Preview with #4D5FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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