#4A4CB2#4A4CB2

#4A4CB2 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.4% C 0.158 H 277.6°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#4A4CB2
RGBrgb(74, 76, 178)
HSLhsl(239, 41%, 49%)
HSVhsv(239, 58%, 70%)
CMYKcmyk(58.4%, 57.3%, 0%, 30.2%)
CIE-LABlab(37.55, 29.68, -54.75)
CIE-LCHlch(37.55, 62.28, 298.46°)
OKLaboklab(47.35% 0.021 -0.1571)
OKLCHoklch(47.35% 0.158 277.6)
XYZxyz(13.4418, 9.8381, 43.3015)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CB2 #B2B04A
analogous
#4A80B2 #4A4CB2 #7C4AB2
triadic
#4A4CB2 #B24A4C #4CB24A
tetradic
#4A4CB2 #B24A80 #B2B04A #4AB27C
square
#4A4CB2 #B24A80 #B2B04A #4AB27C
split-complementary
#4A4CB2 #B27C4A #80B24A
monochromatic
#26275C #383A87 #4A4CB2 #7476C5 #9FA0D7

Accessibility & contrast

On white

7.08
#4A4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#4A4CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4CB2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CB2#FFFFFF#000000##FFFFFF
##4A4CB21.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#036477
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a4cb2;
/* rgb */ color: rgb(74, 76, 178);
/* oklch */ color: oklch(47.4% 0.158 277.6);
Tailwind
colors: {
  custom: {
    50: '#867eca',
    500: '#4a4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #4a4cb2;
$custom-light: #867eca;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4cb2",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 238.846,
    "s": 41.27,
    "l": 49.412
  },
  "oklch": {
    "l": 0.47353,
    "c": 0.15848,
    "h": 277.6
  },
  "luminance": 0.09839
}

Semantic roles & 50–950 ramp

primary
#4A4CB2
secondary
#C4C394
accent
#CF57D1
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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