#4A4EC6#4A4EC6

#4A4EC6 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.3% C 0.183 H 275.9°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#4A4EC6
RGBrgb(74, 78, 198)
HSLhsl(238, 52%, 53%)
HSVhsv(238, 63%, 78%)
CMYKcmyk(62.6%, 60.6%, 0%, 22.4%)
CIE-LABlab(39.55, 35.13, -63.22)
CIE-LCHlch(39.55, 72.33, 299.06°)
OKLaboklab(49.31% 0.0189 -0.182)
OKLCHoklch(49.31% 0.183 275.9)
XYZxyz(15.7381, 10.9806, 54.7052)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EC6 #C6C24A
analogous
#4A8CC6 #4A4EC6 #844AC6
triadic
#4A4EC6 #C64A4E #4EC64A
tetradic
#4A4EC6 #C64A8C #C6C24A #4AC684
square
#4A4EC6 #C64A8C #C6C24A #4AC684
split-complementary
#4A4EC6 #C6844A #8CC64A
monochromatic
#242672 #3236A0 #4A4EC6 #797CD5 #A7A9E3

Accessibility & contrast

On white

6.57
#4A4EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#4A4EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EC6
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EC6#FFFFFF#000000##FFFFFF
##4A4EC61.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#006C82
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #4a4ec6;
/* rgb */ color: rgb(74, 78, 198);
/* oklch */ color: oklch(49.3% 0.183 275.9);
Tailwind
colors: {
  custom: {
    50: '#8a7fd8',
    500: '#4a4ec6',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ec6;
$custom-light: #8a7fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ec6",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 198
  },
  "hsl": {
    "h": 238.065,
    "s": 52.101,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49305,
    "c": 0.18296,
    "h": 275.9
  },
  "luminance": 0.10982
}

Semantic roles & 50–950 ramp

primary
#4A4EC6
secondary
#D1CF9B
accent
#D74CDC
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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