#4D54D6#4D54D6

#4D54D6 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.196 H 274.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#4D54D6
RGBrgb(77, 84, 214)
HSLhsl(237, 63%, 57%)
HSVhsv(237, 64%, 84%)
CMYKcmyk(64%, 60.7%, 0%, 16.1%)
CIE-LABlab(42.42, 37.26, -67.77)
CIE-LCHlch(42.42, 77.34, 298.80°)
OKLaboklab(51.86% 0.0167 -0.1952)
OKLCHoklch(51.86% 0.196 274.9)
XYZxyz(18.3645, 12.7719, 65.1027)
Luminance0.1277 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54D6 #D6CF4D
analogous
#4D99D6 #4D54D6 #8A4DD6
triadic
#4D54D6 #D64D54 #54D64D
tetradic
#4D54D6 #D64D99 #D6CF4D #4DD68A
square
#4D54D6 #D64D99 #D6CF4D #4DD68A
split-complementary
#4D54D6 #D68A4D #99D64D
monochromatic
#202589 #2B32BB #4D54D6 #7F84E1 #B0B4ED

Accessibility & contrast

On white

5.91
#4D54D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#4D54D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54D6
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54D6#FFFFFF#000000##FFFFFF
##4D54D61.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#00748D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4d54d6;
/* rgb */ color: rgb(77, 84, 214);
/* oklch */ color: oklch(51.9% 0.196 274.9);
Tailwind
colors: {
  custom: {
    50: '#8d84e4',
    500: '#4d54d6',
    950: '#000000',
  },
}
SCSS
$custom: #4d54d6;
$custom-light: #8d84e4;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54d6",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 236.934,
    "s": 62.557,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.19592,
    "h": 274.9
  },
  "luminance": 0.12773
}

Semantic roles & 50–950 ramp

primary
#4D54D6
secondary
#DBD8A4
accent
#DD42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84

Preview Lab

Preview with #4D54D6

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

Preview Lab → · Contrast checker → · Palette generator →

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