#4A4BB7#4A4BB7

#4A4BB7 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.167 H 277.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4A4BB7
RGBrgb(74, 75, 183)
HSLhsl(239, 43%, 50%)
HSVhsv(239, 60%, 72%)
CMYKcmyk(59.6%, 59%, 0%, 28.2%)
CIE-LABlab(37.67, 31.98, -57.50)
CIE-LCHlch(37.67, 65.80, 299.08°)
OKLaboklab(47.56% 0.022 -0.1652)
OKLCHoklch(47.56% 0.167 277.6)
XYZxyz(13.8846, 9.9059, 45.9709)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4BB7 #B7B64A
analogous
#4A81B7 #4A4BB7 #804AB7
triadic
#4A4BB7 #B74A4B #4BB74A
tetradic
#4A4BB7 #B74A81 #B7B64A #4AB780
square
#4A4BB7 #B74A81 #B7B64A #4AB780
split-complementary
#4A4BB7 #B7804A #81B74A
monochromatic
#262760 #38388C #4A4BB7 #7677C8 #A2A2DA

Accessibility & contrast

On white

7.04
#4A4BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4A4BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4BB7
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4BB7#FFFFFF#000000##FFFFFF
##4A4BB71.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBB
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4bb7;
/* rgb */ color: rgb(74, 75, 183);
/* oklch */ color: oklch(47.6% 0.167 277.6);
Tailwind
colors: {
  custom: {
    50: '#877dcd',
    500: '#4a4bb7',
    950: '#000000',
  },
}
SCSS
$custom: #4a4bb7;
$custom-light: #877dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4bb7",
  "rgb": {
    "r": 74,
    "g": 75,
    "b": 183
  },
  "hsl": {
    "h": 239.45,
    "s": 43.083,
    "l": 50.392
  },
  "oklch": {
    "l": 0.47561,
    "c": 0.16663,
    "h": 277.6
  },
  "luminance": 0.09907
}

Semantic roles & 50–950 ramp

primary
#4A4BB7
secondary
#C7C696
accent
#D255D3
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0914
muted
#7D7B82

Preview Lab

Preview with #4A4BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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