#4D54CD#4D54CD

#4D54CD is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.184 H 275.3°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#4D54CD
RGBrgb(77, 84, 205)
HSLhsl(237, 56%, 55%)
HSVhsv(237, 62%, 80%)
CMYKcmyk(62.4%, 59%, 0%, 19.6%)
CIE-LABlab(41.73, 34.24, -63.72)
CIE-LCHlch(41.73, 72.34, 298.25°)
OKLaboklab(51.14% 0.0169 -0.1833)
OKLCHoklch(51.14% 0.184 275.3)
XYZxyz(17.2467, 12.3248, 59.2158)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54CD #CDC64D
analogous
#4D94CD #4D54CD #864DCD
triadic
#4D54CD #CD4D54 #54CD4D
tetradic
#4D54CD #CD4D94 #CDC64D #4DCD86
square
#4D54CD #CD4D94 #CDC64D #4DCD86
split-complementary
#4D54CD #CD864D #94CD4D
monochromatic
#23287D #3037AC #4D54CD #7D82DA #ADB0E8

Accessibility & contrast

On white

6.06
#4D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#4D54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54CD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54CD#FFFFFF#000000##FFFFFF
##4D54CD1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D1
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#007288
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #4d54cd;
/* rgb */ color: rgb(77, 84, 205);
/* oklch */ color: oklch(51.1% 0.184 275.3);
Tailwind
colors: {
  custom: {
    50: '#8c84dd',
    500: '#4d54cd',
    950: '#000000',
  },
}
SCSS
$custom: #4d54cd;
$custom-light: #8c84dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54cd",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 236.719,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.18409,
    "h": 275.3
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#4D54CD
secondary
#D6D3A0
accent
#D748DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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