#4A4EA6#4A4EA6

#4A4EA6 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.139 H 277.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4A4EA6
RGBrgb(74, 78, 166)
HSLhsl(237, 38%, 47%)
HSVhsv(237, 55%, 65%)
CMYKcmyk(55.4%, 53%, 0%, 34.9%)
CIE-LABlab(37.22, 24.39, -48.16)
CIE-LCHlch(37.22, 53.98, 296.86°)
OKLaboklab(46.84% 0.0185 -0.1377)
OKLCHoklch(46.84% 0.139 277.6)
XYZxyz(12.4292, 9.6570, 37.2780)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EA6 #A6A24A
analogous
#4A7CA6 #4A4EA6 #744AA6
triadic
#4A4EA6 #A64A4E #4EA64A
tetradic
#4A4EA6 #A64A7C #A6A24A #4AA674
square
#4A4EA6 #A64A7C #A6A24A #4AA674
split-complementary
#4A4EA6 #A6744A #7CA64A
monochromatic
#242651 #373A7C #4A4EA6 #6F72BF #999BD1

Accessibility & contrast

On white

7.16
#4A4EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4A4EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4EA6
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EA6#FFFFFF#000000##FFFFFF
##4A4EA61.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5BA9
Deuteranopia (green-blind)
#0C54A4
Tritanopia (blue-blind)
#1D6272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a4ea6;
/* rgb */ color: rgb(74, 78, 166);
/* oklch */ color: oklch(46.8% 0.139 277.6);
Tailwind
colors: {
  custom: {
    50: '#847fc1',
    500: '#4a4ea6',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ea6;
$custom-light: #847fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ea6",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 237.391,
    "s": 38.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.46838,
    "c": 0.13889,
    "h": 277.6
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#4A4EA6
secondary
#BEBC8E
accent
#C95ACE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4A4EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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