#4D54BC#4D54BC

#4D54BC is a mid, vivid blue. Relative luminance 0.115; OKLCH L 49.8% C 0.161 H 276.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#4D54BC
RGBrgb(77, 84, 188)
HSLhsl(236, 45%, 52%)
HSVhsv(236, 59%, 74%)
CMYKcmyk(59%, 55.3%, 0%, 26.3%)
CIE-LABlab(40.49, 28.54, -55.86)
CIE-LCHlch(40.49, 62.73, 297.06°)
OKLaboklab(49.82% 0.0167 -0.1602)
OKLCHoklch(49.82% 0.161 276)
XYZxyz(15.3051, 11.5481, 48.9897)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D54BC #BCB54D
analogous
#4D8CBC #4D54BC #7E4DBC
triadic
#4D54BC #BC4D54 #54BC4D
tetradic
#4D54BC #BC4D8C #BCB54D #4DBC7E
square
#4D54BC #BC4D8C #BCB54D #4DBC7E
split-complementary
#4D54BC #BC7E4D #8CBC4D
monochromatic
#272B68 #383E94 #4D54BC #797FCD #A6A9DD

Accessibility & contrast

On white

6.34
#4D54BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#4D54BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D54BC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D54BC#FFFFFF#000000##FFFFFF
##4D54BC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0564C0
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #4d54bc;
/* rgb */ color: rgb(77, 84, 188);
/* oklch */ color: oklch(49.8% 0.161 276.0);
Tailwind
colors: {
  custom: {
    50: '#8984d1',
    500: '#4d54bc',
    950: '#000000',
  },
}
SCSS
$custom: #4d54bc;
$custom-light: #8984d1;
$custom-dark: #000000;
JSON
{
  "hex": "#4d54bc",
  "rgb": {
    "r": 77,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 236.216,
    "s": 45.306,
    "l": 51.961
  },
  "oklch": {
    "l": 0.49822,
    "c": 0.16106,
    "h": 276
  },
  "luminance": 0.11549
}

Semantic roles & 50–950 ramp

primary
#4D54BC
secondary
#CBC89A
accent
#CD53D5
background
#F8F8FC
surface
#F0EFF9
border
#CBCAD2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4D54BC

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

Preview Lab → · Contrast checker → · Palette generator →

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