#4D54DD#4D54DD

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

Color values

HEX#4D54DD
RGBrgb(77, 84, 221)
HSLhsl(237, 68%, 58%)
HSVhsv(237, 65%, 87%)
CMYKcmyk(65.2%, 62%, 0%, 13.3%)
CIE-LABlab(42.97, 39.59, -70.87)
CIE-LCHlch(42.97, 81.18, 299.19°)
OKLaboklab(52.44% 0.0164 -0.2043)
OKLCHoklch(52.44% 0.205 274.6)
XYZxyz(19.2777, 13.1372, 69.9124)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54DD #DDD64D
analogous
#4D9CDD #4D54DD #8E4DDD
triadic
#4D54DD #DD4D54 #54DD4D
tetradic
#4D54DD #DD4D9C #DDD64D #4DDD8E
square
#4D54DD #DD4D9C #DDD64D #4DDD8E
split-complementary
#4D54DD #DD8E4D #9CDD4D
monochromatic
#1C2293 #262EC7 #4D54DD #8085E7 #B4B7F1

Accessibility & contrast

On white

5.79
#4D54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#4D54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54DD
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54DD#FFFFFF#000000##FFFFFF
##4D54DD1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE1
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#007791
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #4d54dd;
/* rgb */ color: rgb(77, 84, 221);
/* oklch */ color: oklch(52.4% 0.205 274.6);
Tailwind
colors: {
  custom: {
    50: '#8f84e9',
    500: '#4d54dd',
    950: '#000000',
  },
}
SCSS
$custom: #4d54dd;
$custom-light: #8f84e9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54dd",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 237.083,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52438,
    "c": 0.20497,
    "h": 274.6
  },
  "luminance": 0.13139
}

Semantic roles & 50–950 ramp

primary
#4D54DD
secondary
#DFDDA6
accent
#E23DEB
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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