#4A4CBE#4A4CBE

#4A4CBE is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.3% C 0.175 H 276.9°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#4A4CBE
RGBrgb(74, 76, 190)
HSLhsl(239, 47%, 52%)
HSVhsv(239, 61%, 75%)
CMYKcmyk(61.1%, 60%, 0%, 25.5%)
CIE-LABlab(38.45, 33.70, -60.35)
CIE-LCHlch(38.45, 69.12, 299.18°)
OKLaboklab(48.3% 0.0209 -0.1735)
OKLCHoklch(48.3% 0.175 276.9)
XYZxyz(14.6997, 10.3413, 49.9267)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CBE #BEBC4A
analogous
#4A86BE #4A4CBE #824ABE
triadic
#4A4CBE #BE4A4C #4CBE4A
tetradic
#4A4CBE #BE4A86 #BEBC4A #4ABE82
square
#4A4CBE #BE4A86 #BEBC4A #4ABE82
split-complementary
#4A4CBE #BE824A #86BE4A
monochromatic
#252768 #363795 #4A4CBE #7779CE #A4A5DE

Accessibility & contrast

On white

6.84
#4A4CBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#4A4CBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4CBE
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CBE#FFFFFF#000000##FFFFFF
##4A4CBE1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C2
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a4cbe;
/* rgb */ color: rgb(74, 76, 190);
/* oklch */ color: oklch(48.3% 0.175 276.9);
Tailwind
colors: {
  custom: {
    50: '#887ed2',
    500: '#4a4cbe',
    950: '#000000',
  },
}
SCSS
$custom: #4a4cbe;
$custom-light: #887ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4cbe",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 190
  },
  "hsl": {
    "h": 238.966,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.483,
    "c": 0.1748,
    "h": 276.9
  },
  "luminance": 0.10342
}

Semantic roles & 50–950 ramp

primary
#4A4CBE
secondary
#CBCA98
accent
#D451D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83

Preview Lab

Preview with #4A4CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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