#4D4CBA#4D4CBA

#4D4CBA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.2% C 0.169 H 278.4°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#4D4CBA
RGBrgb(77, 76, 186)
HSLhsl(241, 44%, 51%)
HSVhsv(241, 59%, 73%)
CMYKcmyk(58.6%, 59.1%, 0%, 27.1%)
CIE-LABlab(38.36, 32.89, -58.14)
CIE-LCHlch(38.36, 66.80, 299.50°)
OKLaboklab(48.2% 0.0246 -0.167)
OKLCHoklch(48.2% 0.169 278.4)
XYZxyz(14.5051, 10.2908, 47.6668)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D4CBA #B9BA4C
analogous
#4C82BA #4D4CBA #844CBA
triadic
#4D4CBA #BA4D4C #4CBA4D
tetradic
#4D4CBA #BA4C82 #B9BA4C #4CBA84
square
#4D4CBA #BA4C82 #B9BA4C #4CBA84
split-complementary
#4D4CBA #BA844C #82BA4C
monochromatic
#272765 #393891 #4D4CBA #7978CB #A5A4DC

Accessibility & contrast

On white

6.87
#4D4CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#4D4CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4D4CBA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D4CBA#FFFFFF#000000##FFFFFF
##4D4CBA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4d4cba;
/* rgb */ color: rgb(77, 76, 186);
/* oklch */ color: oklch(48.2% 0.169 278.4);
Tailwind
colors: {
  custom: {
    50: '#897ed0',
    500: '#4d4cba',
    950: '#000000',
  },
}
SCSS
$custom: #4d4cba;
$custom-light: #897ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#4d4cba",
  "rgb": {
    "r": 77,
    "g": 76,
    "b": 186
  },
  "hsl": {
    "h": 240.545,
    "s": 44.355,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.16877,
    "h": 278.4
  },
  "luminance": 0.10292
}

Semantic roles & 50–950 ramp

primary
#4D4CBA
secondary
#C9C999
accent
#D454D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0D0A14
muted
#7D7C82

Preview Lab

Preview with #4D4CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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