#4A4EB5#4A4EB5

#4A4EB5 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.0% C 0.160 H 276.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#4A4EB5
RGBrgb(74, 78, 181)
HSLhsl(238, 42%, 50%)
HSVhsv(238, 59%, 71%)
CMYKcmyk(59.1%, 56.9%, 0%, 29%)
CIE-LABlab(38.27, 29.42, -55.35)
CIE-LCHlch(38.27, 62.69, 297.99°)
OKLaboklab(47.96% 0.0191 -0.1588)
OKLCHoklch(47.96% 0.16 276.8)
XYZxyz(13.8862, 10.2398, 44.9518)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EB5 #B5B14A
analogous
#4A84B5 #4A4EB5 #7B4AB5
triadic
#4A4EB5 #B54A4E #4EB54A
tetradic
#4A4EB5 #B54A84 #B5B14A #4AB57B
square
#4A4EB5 #B54A84 #B5B14A #4AB57B
split-complementary
#4A4EB5 #B57B4A #84B54A
monochromatic
#26295E #383B8A #4A4EB5 #7578C7 #A1A3D9

Accessibility & contrast

On white

6.89
#4A4EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#4A4EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EB5
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EB5#FFFFFF#000000##FFFFFF
##4A4EB51.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FB8
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#00667A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a4eb5;
/* rgb */ color: rgb(74, 78, 181);
/* oklch */ color: oklch(48.0% 0.160 276.8);
Tailwind
colors: {
  custom: {
    50: '#877fcc',
    500: '#4a4eb5',
    950: '#000000',
  },
}
SCSS
$custom: #4a4eb5;
$custom-light: #877fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4eb5",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 181
  },
  "hsl": {
    "h": 237.757,
    "s": 41.961,
    "l": 50
  },
  "oklch": {
    "l": 0.47956,
    "c": 0.15998,
    "h": 276.8
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#4A4EB5
secondary
#C5C495
accent
#CD56D2
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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