#4A4EAA#4A4EAA

#4A4EAA is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.1% C 0.145 H 277.4°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#4A4EAA
RGBrgb(74, 78, 170)
HSLhsl(238, 39%, 48%)
HSVhsv(238, 56%, 67%)
CMYKcmyk(56.5%, 54.1%, 0%, 33.3%)
CIE-LABlab(37.49, 25.73, -50.10)
CIE-LCHlch(37.49, 56.32, 297.18°)
OKLaboklab(47.13% 0.0187 -0.1434)
OKLCHoklch(47.13% 0.145 277.4)
XYZxyz(12.8018, 9.8060, 39.2406)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EAA #AAA64A
analogous
#4A7EAA #4A4EAA #764AAA
triadic
#4A4EAA #AA4A4E #4EAA4A
tetradic
#4A4EAA #AA4A7E #AAA64A #4AAA76
square
#4A4EAA #AA4A7E #AAA64A #4AAA76
split-complementary
#4A4EAA #AA764A #7EAA4A
monochromatic
#252755 #373A7F #4A4EAA #7074C1 #9B9DD3

Accessibility & contrast

On white

7.09
#4A4EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#4A4EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4EAA
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EAA#FFFFFF#000000##FFFFFF
##4A4EAA1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165CAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#166374
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a4eaa;
/* rgb */ color: rgb(74, 78, 170);
/* oklch */ color: oklch(47.1% 0.145 277.4);
Tailwind
colors: {
  custom: {
    50: '#857fc4',
    500: '#4a4eaa',
    950: '#000000',
  },
}
SCSS
$custom: #4a4eaa;
$custom-light: #857fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4eaa",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 237.5,
    "s": 39.344,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47129,
    "c": 0.14459,
    "h": 277.4
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#4A4EAA
secondary
#C0BE90
accent
#CA59CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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