#4C4DBD#4C4DBD

#4C4DBD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.5% C 0.172 H 277.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#4C4DBD
RGBrgb(76, 77, 189)
HSLhsl(239, 46%, 52%)
HSVhsv(239, 60%, 74%)
CMYKcmyk(59.8%, 59.3%, 0%, 25.9%)
CIE-LABlab(38.76, 33.08, -59.26)
CIE-LCHlch(38.76, 67.87, 299.17°)
OKLaboklab(48.54% 0.0224 -0.1703)
OKLCHoklch(48.54% 0.172 277.5)
XYZxyz(14.8167, 10.5173, 49.3835)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DBD #BDBC4C
analogous
#4C86BD #4C4DBD #844CBD
triadic
#4C4DBD #BD4C4D #4DBD4C
tetradic
#4C4DBD #BD4C86 #BDBC4C #4CBD84
square
#4C4DBD #BD4C86 #BDBC4C #4CBD84
split-complementary
#4C4DBD #BD844C #86BD4C
monochromatic
#262768 #373895 #4C4DBD #7979CD #A5A6DE

Accessibility & contrast

On white

6.77
#4C4DBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#4C4DBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DBD
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DBD#FFFFFF#000000##FFFFFF
##4C4DBD1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c4dbd;
/* rgb */ color: rgb(76, 77, 189);
/* oklch */ color: oklch(48.5% 0.172 277.5);
Tailwind
colors: {
  custom: {
    50: '#897fd2',
    500: '#4c4dbd',
    950: '#000000',
  },
}
SCSS
$custom: #4c4dbd;
$custom-light: #897fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4dbd",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 189
  },
  "hsl": {
    "h": 239.469,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.4854,
    "c": 0.17174,
    "h": 277.5
  },
  "luminance": 0.10518
}

Semantic roles & 50–950 ramp

primary
#4C4DBD
secondary
#CBCB9A
accent
#D552D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C4DBD

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

Preview Lab → · Contrast checker → · Palette generator →

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