#4C4CBF#4C4CBF

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

Color values

HEX#4C4CBF
RGBrgb(76, 76, 191)
HSLhsl(240, 47%, 52%)
HSVhsv(240, 60%, 75%)
CMYKcmyk(60.2%, 60.2%, 0%, 25.1%)
CIE-LABlab(38.67, 34.37, -60.57)
CIE-LCHlch(38.67, 69.64, 299.57°)
OKLaboklab(48.52% 0.0233 -0.1741)
OKLCHoklch(48.52% 0.176 277.6)
XYZxyz(14.9659, 10.4658, 50.5116)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4CBF #BFBF4C
analogous
#4C86BF #4C4CBF #864CBF
triadic
#4C4CBF #BF4C4C #4CBF4C
tetradic
#4C4CBF #BF4C86 #BFBF4C #4CBF86
square
#4C4CBF #BF4C86 #BFBF4C #4CBF86
split-complementary
#4C4CBF #BF864C #86BF4C
monochromatic
#26266B #363698 #4C4CBF #7979CF #A6A6DF

Accessibility & contrast

On white

6.79
#4C4CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#4C4CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4CBF
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4CBF#FFFFFF#000000##FFFFFF
##4C4CBF1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0056BD
Tritanopia (blue-blind)
#00687E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #4c4cbf;
/* rgb */ color: rgb(76, 76, 191);
/* oklch */ color: oklch(48.5% 0.176 277.6);
Tailwind
colors: {
  custom: {
    50: '#897ed3',
    500: '#4c4cbf',
    950: '#000000',
  },
}
SCSS
$custom: #4c4cbf;
$custom-light: #897ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4cbf",
  "rgb": {
    "r": 76,
    "g": 76,
    "b": 191
  },
  "hsl": {
    "h": 240,
    "s": 47.325,
    "l": 52.353
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.1757,
    "h": 277.6
  },
  "luminance": 0.10467
}

Semantic roles & 50–950 ramp

primary
#4C4CBF
secondary
#CCCC9A
accent
#D751D7
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83

Preview Lab

Preview with #4C4CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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