#4D54DC#4D54DC

#4D54DC is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.4% C 0.204 H 274.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#4D54DC
RGBrgb(77, 84, 220)
HSLhsl(237, 67%, 58%)
HSVhsv(237, 65%, 86%)
CMYKcmyk(65%, 61.8%, 0%, 13.7%)
CIE-LABlab(42.89, 39.26, -70.43)
CIE-LCHlch(42.89, 80.63, 299.14°)
OKLaboklab(52.35% 0.0164 -0.203)
OKLCHoklch(52.35% 0.204 274.6)
XYZxyz(19.1449, 13.0841, 69.2128)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54DC #DCD54D
analogous
#4D9BDC #4D54DC #8D4DDC
triadic
#4D54DC #DC4D54 #54DC4D
tetradic
#4D54DC #DC4D9B #DCD54D #4DDC8D
square
#4D54DC #DC4D9B #DCD54D #4DDC8D
split-complementary
#4D54DC #DC8D4D #9BDC4D
monochromatic
#1D2292 #272EC5 #4D54DC #8085E6 #B3B6F0

Accessibility & contrast

On white

5.81
#4D54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#4D54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54DC
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54DC#FFFFFF#000000##FFFFFF
##4D54DC1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#007690
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d54dc;
/* rgb */ color: rgb(77, 84, 220);
/* oklch */ color: oklch(52.4% 0.204 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f84e8',
    500: '#4d54dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d54dc;
$custom-light: #8f84e8;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54dc",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 237.063,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52354,
    "c": 0.20368,
    "h": 274.6
  },
  "luminance": 0.13086
}

Semantic roles & 50–950 ramp

primary
#4D54DC
secondary
#DFDCA6
accent
#E23EEA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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