#4A4CCA#4A4CCA

#4A4CCA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.3% C 0.191 H 276.1°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#4A4CCA
RGBrgb(74, 76, 202)
HSLhsl(239, 55%, 54%)
HSVhsv(239, 63%, 79%)
CMYKcmyk(63.4%, 62.4%, 0%, 20.8%)
CIE-LABlab(39.39, 37.70, -65.80)
CIE-LCHlch(39.39, 75.84, 299.81°)
OKLaboklab(49.29% 0.0204 -0.1896)
OKLCHoklch(49.29% 0.191 276.1)
XYZxyz(16.0657, 10.8877, 57.1206)
Luminance0.1089 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CCA #CAC84A
analogous
#4A8CCA #4A4CCA #884ACA
triadic
#4A4CCA #CA4A4C #4CCA4A
tetradic
#4A4CCA #CA4A8C #CAC84A #4ACA88
square
#4A4CCA #CA4A8C #CAC84A #4ACA88
split-complementary
#4A4CCA #CA884A #8CCA4A
monochromatic
#232477 #3132A6 #4A4CCA #797BD8 #A9AAE6

Accessibility & contrast

On white

6.61
#4A4CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#4A4CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4CCA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CCA#FFFFFF#000000##FFFFFF
##4A4CCA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0057C8
Tritanopia (blue-blind)
#006C84
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a4cca;
/* rgb */ color: rgb(74, 76, 202);
/* oklch */ color: oklch(49.3% 0.191 276.1);
Tailwind
colors: {
  custom: {
    50: '#8a7edb',
    500: '#4a4cca',
    950: '#000000',
  },
}
SCSS
$custom: #4a4cca;
$custom-light: #8a7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4cca",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 202
  },
  "hsl": {
    "h": 239.063,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.19065,
    "h": 276.1
  },
  "luminance": 0.10889
}

Semantic roles & 50–950 ramp

primary
#4A4CCA
secondary
#D3D29D
accent
#DC4ADE
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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