#4A4BAD#4A4BAD

#4A4BAD is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.8% C 0.153 H 278.3°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#4A4BAD
RGBrgb(74, 75, 173)
HSLhsl(239, 40%, 48%)
HSVhsv(239, 57%, 68%)
CMYKcmyk(57.2%, 56.6%, 0%, 32.2%)
CIE-LABlab(36.94, 28.64, -52.78)
CIE-LCHlch(36.94, 60.05, 298.49°)
OKLaboklab(46.78% 0.022 -0.1513)
OKLCHoklch(46.78% 0.153 278.3)
XYZxyz(12.8805, 9.5042, 40.6828)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4BAD #ADAC4A
analogous
#4A7CAD #4A4BAD #7A4AAD
triadic
#4A4BAD #AD4A4B #4BAD4A
tetradic
#4A4BAD #AD4A7C #ADAC4A #4AAD7A
square
#4A4BAD #AD4A7C #ADAC4A #4AAD7A
split-complementary
#4A4BAD #AD7A4A #7CAD4A
monochromatic
#252657 #383882 #4A4BAD #7272C3 #9D9DD5

Accessibility & contrast

On white

7.24
#4A4BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#4A4BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4BAD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4BAD#FFFFFF#000000##FFFFFF
##4A4BAD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB0
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#126274
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a4bad;
/* rgb */ color: rgb(74, 75, 173);
/* oklch */ color: oklch(46.8% 0.153 278.3);
Tailwind
colors: {
  custom: {
    50: '#857dc6',
    500: '#4a4bad',
    950: '#000000',
  },
}
SCSS
$custom: #4a4bad;
$custom-light: #857dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4bad",
  "rgb": {
    "r": 74,
    "g": 75,
    "b": 173
  },
  "hsl": {
    "h": 239.394,
    "s": 40.081,
    "l": 48.431
  },
  "oklch": {
    "l": 0.46783,
    "c": 0.15288,
    "h": 278.3
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#4A4BAD
secondary
#C1C191
accent
#CF58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0913
muted
#7D7B82

Preview Lab

Preview with #4A4BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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