#4A4E9A#4A4E9A

#4A4E9A is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.0% C 0.121 H 278.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#4A4E9A
RGBrgb(74, 78, 154)
HSLhsl(237, 35%, 45%)
HSVhsv(237, 52%, 60%)
CMYKcmyk(51.9%, 49.4%, 0%, 39.6%)
CIE-LABlab(36.44, 20.41, -42.22)
CIE-LCHlch(36.44, 46.89, 295.80°)
OKLaboklab(46% 0.0174 -0.1202)
OKLCHoklch(46% 0.121 278.2)
XYZxyz(11.3793, 9.2370, 31.7489)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4E9A #9A964A
analogous
#4A769A #4A4E9A #6E4A9A
triadic
#4A4E9A #9A4A4E #4E9A4A
tetradic
#4A4E9A #9A4A76 #9A964A #4A9A6E
square
#4A4E9A #9A4A76 #9A964A #4A9A6E
split-complementary
#4A4E9A #9A6E4A #769A4A
monochromatic
#222447 #363971 #4A4E9A #6A6EB7 #9396CB

Accessibility & contrast

On white

7.37
#4A4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#4A4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4E9A
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4E9A#FFFFFF#000000##FFFFFF
##4A4E9A1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B599D
Deuteranopia (green-blind)
#235398
Tritanopia (blue-blind)
#295F6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #4a4e9a;
/* rgb */ color: rgb(74, 78, 154);
/* oklch */ color: oklch(46.0% 0.121 278.2);
Tailwind
colors: {
  custom: {
    50: '#827fb8',
    500: '#4a4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #4a4e9a;
$custom-light: #827fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4e9a",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 237,
    "s": 35.088,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45997,
    "c": 0.12145,
    "h": 278.2
  },
  "luminance": 0.09238
}

Semantic roles & 50–950 ramp

primary
#4A4E9A
secondary
#B7B589
accent
#C65DCB
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A11
muted
#7C7C80

Preview Lab

Preview with #4A4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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