#4A4BB5#4A4BB5

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

Color values

HEX#4A4BB5
RGBrgb(74, 75, 181)
HSLhsl(239, 42%, 50%)
HSVhsv(239, 59%, 71%)
CMYKcmyk(59.1%, 58.6%, 0%, 29%)
CIE-LABlab(37.52, 31.31, -56.56)
CIE-LCHlch(37.52, 64.65, 298.97°)
OKLaboklab(47.4% 0.022 -0.1624)
OKLCHoklch(47.4% 0.164 277.7)
XYZxyz(13.6779, 9.8232, 44.8824)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4BB5 #B5B44A
analogous
#4A81B5 #4A4BB5 #7E4AB5
triadic
#4A4BB5 #B54A4B #4BB54A
tetradic
#4A4BB5 #B54A81 #B5B44A #4AB57E
square
#4A4BB5 #B54A81 #B5B44A #4AB57E
split-complementary
#4A4BB5 #B57E4A #81B54A
monochromatic
#26275E #38398A #4A4BB5 #7576C7 #A1A1D9

Accessibility & contrast

On white

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

On black

2.96
#4A4BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##4A4BB5#FFFFFF#000000##FFFFFF
##4A4BB51.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#006478
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a4bb5;
/* rgb */ color: rgb(74, 75, 181);
/* oklch */ color: oklch(47.4% 0.164 277.7);
Tailwind
colors: {
  custom: {
    50: '#877dcc',
    500: '#4a4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #4a4bb5;
$custom-light: #877dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4bb5",
  "rgb": {
    "r": 74,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 239.439,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.16391,
    "h": 277.7
  },
  "luminance": 0.09824
}

Semantic roles & 50–950 ramp

primary
#4A4BB5
secondary
#C5C595
accent
#D156D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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