#4D54CE#4D54CE

#4D54CE is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.2% C 0.185 H 275.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#4D54CE
RGBrgb(77, 84, 206)
HSLhsl(237, 57%, 55%)
HSVhsv(237, 63%, 81%)
CMYKcmyk(62.6%, 59.2%, 0%, 19.2%)
CIE-LABlab(41.80, 34.58, -64.17)
CIE-LCHlch(41.80, 72.90, 298.32°)
OKLaboklab(51.21% 0.0169 -0.1846)
OKLCHoklch(51.21% 0.185 275.2)
XYZxyz(17.3678, 12.3732, 59.8536)
Luminance0.1237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54CE #CEC74D
analogous
#4D94CE #4D54CE #864DCE
triadic
#4D54CE #CE4D54 #54CE4D
tetradic
#4D54CE #CE4D94 #CEC74D #4DCE86
square
#4D54CE #CE4D94 #CEC74D #4DCE86
split-complementary
#4D54CE #CE864D #94CE4D
monochromatic
#23287E #3037AE #4D54CE #7D82DB #ADB0E8

Accessibility & contrast

On white

6.04
#4D54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#4D54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54CE
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54CE#FFFFFF#000000##FFFFFF
##4D54CE1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d54ce;
/* rgb */ color: rgb(77, 84, 206);
/* oklch */ color: oklch(51.2% 0.185 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c84de',
    500: '#4d54ce',
    950: '#000000',
  },
}
SCSS
$custom: #4d54ce;
$custom-light: #8c84de;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54ce",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 236.744,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51214,
    "c": 0.18542,
    "h": 275.2
  },
  "luminance": 0.12375
}

Semantic roles & 50–950 ramp

primary
#4D54CE
secondary
#D6D3A1
accent
#D848E0
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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