#4C4FBD#4C4FBD

#4C4FBD is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.9% C 0.169 H 277.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#4C4FBD
RGBrgb(76, 79, 189)
HSLhsl(238, 46%, 52%)
HSVhsv(238, 60%, 74%)
CMYKcmyk(59.8%, 58.2%, 0%, 25.9%)
CIE-LABlab(39.24, 31.83, -58.46)
CIE-LCHlch(39.24, 66.57, 298.57°)
OKLaboklab(48.9% 0.0205 -0.1679)
OKLCHoklch(48.9% 0.169 277)
XYZxyz(14.9588, 10.8015, 49.4309)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C4FBD #BDBA4C
analogous
#4C88BD #4C4FBD #824CBD
triadic
#4C4FBD #BD4C4F #4FBD4C
tetradic
#4C4FBD #BD4C88 #BDBA4C #4CBD82
square
#4C4FBD #BD4C88 #BDBA4C #4CBD82
split-complementary
#4C4FBD #BD824C #88BD4C
monochromatic
#262868 #373995 #4C4FBD #797BCD #A5A7DE

Accessibility & contrast

On white

6.64
#4C4FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#4C4FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4C4FBD
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C4FBD#FFFFFF#000000##FFFFFF
##4C4FBD1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#00697E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #4c4fbd;
/* rgb */ color: rgb(76, 79, 189);
/* oklch */ color: oklch(48.9% 0.169 277.0);
Tailwind
colors: {
  custom: {
    50: '#8980d2',
    500: '#4c4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #4c4fbd;
$custom-light: #8980d2;
$custom-dark: #000000;
JSON
{
  "hex": "#4c4fbd",
  "rgb": {
    "r": 76,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 238.407,
    "s": 46.122,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48901,
    "c": 0.16918,
    "h": 277
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#4C4FBD
secondary
#CBCA9A
accent
#D252D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4C4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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