#4A4EC8#4A4EC8

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

Color values

HEX#4A4EC8
RGBrgb(74, 78, 200)
HSLhsl(238, 53%, 54%)
HSVhsv(238, 63%, 78%)
CMYKcmyk(63%, 61%, 0%, 21.6%)
CIE-LABlab(39.70, 35.80, -64.13)
CIE-LCHlch(39.70, 73.45, 299.17°)
OKLaboklab(49.47% 0.0188 -0.1846)
OKLCHoklch(49.47% 0.186 275.8)
XYZxyz(15.9704, 11.0734, 55.9282)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EC8 #C8C44A
analogous
#4A8DC8 #4A4EC8 #854AC8
triadic
#4A4EC8 #C84A4E #4EC84A
tetradic
#4A4EC8 #C84A8D #C8C44A #4AC885
square
#4A4EC8 #C84A8D #C8C44A #4AC885
split-complementary
#4A4EC8 #C8854A #8DC84A
monochromatic
#232674 #3235A3 #4A4EC8 #797CD6 #A8AAE5

Accessibility & contrast

On white

6.53
#4A4EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #4A4EC8
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EC8#FFFFFF#000000##FFFFFF
##4A4EC81.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#0058C6
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a4ec8;
/* rgb */ color: rgb(74, 78, 200);
/* oklch */ color: oklch(49.5% 0.186 275.8);
Tailwind
colors: {
  custom: {
    50: '#8a7fda',
    500: '#4a4ec8',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ec8;
$custom-light: #8a7fda;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ec8",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 200
  },
  "hsl": {
    "h": 238.095,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.1856,
    "h": 275.8
  },
  "luminance": 0.11075
}

Semantic roles & 50–950 ramp

primary
#4A4EC8
secondary
#D2D09C
accent
#D84BDD
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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