#4A4EC5#4A4EC5

#4A4EC5 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.2% C 0.182 H 276.0°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#4A4EC5
RGBrgb(74, 78, 197)
HSLhsl(238, 51%, 53%)
HSVhsv(238, 62%, 77%)
CMYKcmyk(62.4%, 60.4%, 0%, 22.7%)
CIE-LABlab(39.47, 34.80, -62.77)
CIE-LCHlch(39.47, 71.77, 299.00°)
OKLaboklab(49.22% 0.0189 -0.1806)
OKLCHoklch(49.22% 0.182 276)
XYZxyz(15.6232, 10.9346, 54.0998)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EC5 #C5C14A
analogous
#4A8BC5 #4A4EC5 #834AC5
triadic
#4A4EC5 #C54A4E #4EC54A
tetradic
#4A4EC5 #C54A8B #C5C14A #4AC583
square
#4A4EC5 #C54A8B #C5C14A #4AC583
split-complementary
#4A4EC5 #C5834A #8BC54A
monochromatic
#242771 #33369F #4A4EC5 #787BD4 #A7A9E3

Accessibility & contrast

On white

6.59
#4A4EC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#4A4EC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EC5
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EC5#FFFFFF#000000##FFFFFF
##4A4EC51.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0058C3
Tritanopia (blue-blind)
#006B82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a4ec5;
/* rgb */ color: rgb(74, 78, 197);
/* oklch */ color: oklch(49.2% 0.182 276.0);
Tailwind
colors: {
  custom: {
    50: '#897fd7',
    500: '#4a4ec5',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ec5;
$custom-light: #897fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ec5",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 197
  },
  "hsl": {
    "h": 238.049,
    "s": 51.464,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49224,
    "c": 0.18163,
    "h": 276
  },
  "luminance": 0.10936
}

Semantic roles & 50–950 ramp

primary
#4A4EC5
secondary
#D0CE9B
accent
#D64DDB
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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