#4D54CF#4D54CF

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

Color values

HEX#4D54CF
RGBrgb(77, 84, 207)
HSLhsl(237, 58%, 56%)
HSVhsv(237, 63%, 81%)
CMYKcmyk(62.8%, 59.4%, 0%, 18.8%)
CIE-LABlab(41.88, 34.91, -64.63)
CIE-LCHlch(41.88, 73.45, 298.38°)
OKLaboklab(51.29% 0.0169 -0.186)
OKLCHoklch(51.29% 0.187 275.2)
XYZxyz(17.4897, 12.4220, 60.4954)
Luminance0.1242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54CF #CFC84D
analogous
#4D95CF #4D54CF #874DCF
triadic
#4D54CF #CF4D54 #54CF4D
tetradic
#4D54CF #CF4D95 #CFC84D #4DCF87
square
#4D54CF #CF4D95 #CFC84D #4DCF87
split-complementary
#4D54CF #CF874D #95CF4D
monochromatic
#22277F #2F36AF #4D54CF #7D82DC #ADB1E9

Accessibility & contrast

On white

6.03
#4D54CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4D54CF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54CF#FFFFFF#000000##FFFFFF
##4D54CF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D3
Deuteranopia (green-blind)
#005DCD
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #4d54cf;
/* rgb */ color: rgb(77, 84, 207);
/* oklch */ color: oklch(51.3% 0.187 275.2);
Tailwind
colors: {
  custom: {
    50: '#8c84df',
    500: '#4d54cf',
    950: '#000000',
  },
}
SCSS
$custom: #4d54cf;
$custom-light: #8c84df;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54cf",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 236.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.18674,
    "h": 275.2
  },
  "luminance": 0.12423
}

Semantic roles & 50–950 ramp

primary
#4D54CF
secondary
#D7D4A1
accent
#D847E1
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83

Preview Lab

Preview with #4D54CF

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

Preview Lab → · Contrast checker → · Palette generator →

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