#4C4DB2#4C4DB2

#4C4DB2 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 47.7% C 0.157 H 278.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#4C4DB2
RGBrgb(76, 77, 178)
HSLhsl(239, 40%, 50%)
HSVhsv(239, 57%, 70%)
CMYKcmyk(57.3%, 56.7%, 0%, 30.2%)
CIE-LABlab(37.95, 29.43, -54.10)
CIE-LCHlch(37.95, 61.59, 298.54°)
OKLaboklab(47.68% 0.0224 -0.1551)
OKLCHoklch(47.68% 0.157 278.2)
XYZxyz(13.6677, 10.0577, 43.3319)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4DB2 #B2B14C
analogous
#4C80B2 #4C4DB2 #7E4CB2
triadic
#4C4DB2 #B24C4D #4DB24C
tetradic
#4C4DB2 #B24C80 #B2B14C #4CB27E
square
#4C4DB2 #B24C80 #B2B14C #4CB27E
split-complementary
#4C4DB2 #B27E4C #80B24C
monochromatic
#27285C #3A3A87 #4C4DB2 #7677C5 #A1A2D7

Accessibility & contrast

On white

6.97
#4C4DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#4C4DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4DB2
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4DB2#FFFFFF#000000##FFFFFF
##4C4DB21.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB5
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#116578
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4c4db2;
/* rgb */ color: rgb(76, 77, 178);
/* oklch */ color: oklch(47.7% 0.157 278.2);
Tailwind
colors: {
  custom: {
    50: '#877fca',
    500: '#4c4db2',
    950: '#000000',
  },
}
SCSS
$custom: #4c4db2;
$custom-light: #877fca;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4db2",
  "rgb": {
    "r": 76,
    "g": 77,
    "b": 178
  },
  "hsl": {
    "h": 239.412,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.47684,
    "c": 0.15672,
    "h": 278.2
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#4C4DB2
secondary
#C4C496
accent
#CF58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4C4DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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