#4A4EAC#4A4EAC

#4A4EAC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.147 H 277.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#4A4EAC
RGBrgb(74, 78, 172)
HSLhsl(238, 40%, 48%)
HSVhsv(238, 57%, 67%)
CMYKcmyk(57%, 54.7%, 0%, 32.5%)
CIE-LABlab(37.63, 26.40, -51.06)
CIE-LCHlch(37.63, 57.49, 297.34°)
OKLaboklab(47.28% 0.0188 -0.1462)
OKLCHoklch(47.28% 0.147 277.3)
XYZxyz(12.9924, 9.8823, 40.2446)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EAC #ACA84A
analogous
#4A7FAC #4A4EAC #774AAC
triadic
#4A4EAC #AC4A4E #4EAC4A
tetradic
#4A4EAC #AC4A7F #ACA84A #4AAC77
square
#4A4EAC #AC4A7F #ACA84A #4AAC77
split-complementary
#4A4EAC #AC774A #7FAC4A
monochromatic
#252756 #383B81 #4A4EAC #7175C2 #9C9ED4

Accessibility & contrast

On white

7.06
#4A4EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4A4EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4EAC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EAC#FFFFFF#000000##FFFFFF
##4A4EAC1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125DAF
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#136475
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4eac;
/* rgb */ color: rgb(74, 78, 172);
/* oklch */ color: oklch(47.3% 0.147 277.3);
Tailwind
colors: {
  custom: {
    50: '#857fc5',
    500: '#4a4eac',
    950: '#000000',
  },
}
SCSS
$custom: #4a4eac;
$custom-light: #857fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4eac",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 237.551,
    "s": 39.837,
    "l": 48.235
  },
  "oklch": {
    "l": 0.47277,
    "c": 0.14742,
    "h": 277.3
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#4A4EAC
secondary
#C1BF91
accent
#CB58D0
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A13
muted
#7D7C82

Preview Lab

Preview with #4A4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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