#4A4EB4#4A4EB4

#4A4EB4 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.9% C 0.159 H 276.9°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#4A4EB4
RGBrgb(74, 78, 180)
HSLhsl(238, 42%, 50%)
HSVhsv(238, 59%, 71%)
CMYKcmyk(58.9%, 56.7%, 0%, 29.4%)
CIE-LABlab(38.20, 29.09, -54.88)
CIE-LCHlch(38.20, 62.11, 297.92°)
OKLaboklab(47.88% 0.019 -0.1574)
OKLCHoklch(47.88% 0.159 276.9)
XYZxyz(13.7840, 10.1989, 44.4134)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EB4 #B4B04A
analogous
#4A83B4 #4A4EB4 #7B4AB4
triadic
#4A4EB4 #B44A4E #4EB44A
tetradic
#4A4EB4 #B44A83 #B4B04A #4AB47B
square
#4A4EB4 #B44A83 #B4B04A #4AB47B
split-complementary
#4A4EB4 #B47B4A #83B44A
monochromatic
#26285D #383B89 #4A4EB4 #7578C6 #A0A2D8

Accessibility & contrast

On white

6.91
#4A4EB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#4A4EB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EB4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EB4#FFFFFF#000000##FFFFFF
##4A4EB41.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB7
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #4a4eb4;
/* rgb */ color: rgb(74, 78, 180);
/* oklch */ color: oklch(47.9% 0.159 276.9);
Tailwind
colors: {
  custom: {
    50: '#867fcb',
    500: '#4a4eb4',
    950: '#000000',
  },
}
SCSS
$custom: #4a4eb4;
$custom-light: #867fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4eb4",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 180
  },
  "hsl": {
    "h": 237.736,
    "s": 41.732,
    "l": 49.804
  },
  "oklch": {
    "l": 0.4788,
    "c": 0.1586,
    "h": 276.9
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A4EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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