#4A4CBC#4A4CBC

#4A4CBC is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.1% C 0.172 H 277.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#4A4CBC
RGBrgb(74, 76, 188)
HSLhsl(239, 46%, 51%)
HSVhsv(239, 61%, 74%)
CMYKcmyk(60.6%, 59.6%, 0%, 26.3%)
CIE-LABlab(38.30, 33.03, -59.43)
CIE-LCHlch(38.30, 67.99, 299.06°)
OKLaboklab(48.14% 0.021 -0.1708)
OKLCHoklch(48.14% 0.172 277)
XYZxyz(14.4827, 10.2545, 48.7833)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CBC #BCBA4A
analogous
#4A85BC #4A4CBC #814ABC
triadic
#4A4CBC #BC4A4C #4CBC4A
tetradic
#4A4CBC #BC4A85 #BCBA4A #4ABC81
square
#4A4CBC #BC4A85 #BCBA4A #4ABC81
split-complementary
#4A4CBC #BC814A #85BC4A
monochromatic
#262766 #363893 #4A4CBC #7778CD #A3A4DD

Accessibility & contrast

On white

6.88
#4A4CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4A4CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4CBC
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CBC#FFFFFF#000000##FFFFFF
##4A4CBC1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a4cbc;
/* rgb */ color: rgb(74, 76, 188);
/* oklch */ color: oklch(48.1% 0.172 277.0);
Tailwind
colors: {
  custom: {
    50: '#887ed1',
    500: '#4a4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #4a4cbc;
$custom-light: #887ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4cbc",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 238.947,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.4814,
    "c": 0.17211,
    "h": 277
  },
  "luminance": 0.10256
}

Semantic roles & 50–950 ramp

primary
#4A4CBC
secondary
#CAC998
accent
#D352D6
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82

Preview Lab

Preview with #4A4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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