#4A4EC9#4A4EC9

#4A4EC9 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.6% C 0.187 H 275.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#4A4EC9
RGBrgb(74, 78, 201)
HSLhsl(238, 54%, 54%)
HSVhsv(238, 63%, 79%)
CMYKcmyk(63.2%, 61.2%, 0%, 21.2%)
CIE-LABlab(39.78, 36.14, -64.58)
CIE-LCHlch(39.78, 74.01, 299.23°)
OKLaboklab(49.55% 0.0188 -0.186)
OKLCHoklch(49.55% 0.187 275.8)
XYZxyz(16.0876, 11.1203, 56.5457)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EC9 #C9C54A
analogous
#4A8EC9 #4A4EC9 #864AC9
triadic
#4A4EC9 #C94A4E #4EC94A
tetradic
#4A4EC9 #C94A8E #C9C54A #4AC986
square
#4A4EC9 #C94A8E #C9C54A #4AC986
split-complementary
#4A4EC9 #C9864A #8EC94A
monochromatic
#232676 #3135A5 #4A4EC9 #797CD7 #A8AAE5

Accessibility & contrast

On white

6.51
#4A4EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#4A4EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EC9
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EC9#FFFFFF#000000##FFFFFF
##4A4EC91.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CD
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#006D84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a4ec9;
/* rgb */ color: rgb(74, 78, 201);
/* oklch */ color: oklch(49.6% 0.187 275.8);
Tailwind
colors: {
  custom: {
    50: '#8a80da',
    500: '#4a4ec9',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ec9;
$custom-light: #8a80da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ec9",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 201
  },
  "hsl": {
    "h": 238.11,
    "s": 54.043,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49551,
    "c": 0.18691,
    "h": 275.8
  },
  "luminance": 0.11122
}

Semantic roles & 50–950 ramp

primary
#4A4EC9
secondary
#D2D19C
accent
#D94ADD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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