#4A4ECD#4A4ECD

#4A4ECD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.9% C 0.192 H 275.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#4A4ECD
RGBrgb(74, 78, 205)
HSLhsl(238, 57%, 55%)
HSVhsv(238, 64%, 80%)
CMYKcmyk(63.9%, 62%, 0%, 19.6%)
CIE-LABlab(40.10, 37.48, -66.38)
CIE-LCHlch(40.10, 76.23, 299.45°)
OKLaboklab(49.88% 0.0186 -0.1912)
OKLCHoklch(49.88% 0.192 275.6)
XYZxyz(16.5643, 11.3110, 59.0561)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ECD #CDC94A
analogous
#4A90CD #4A4ECD #884ACD
triadic
#4A4ECD #CD4A4E #4ECD4A
tetradic
#4A4ECD #CD4A90 #CDC94A #4ACD88
square
#4A4ECD #CD4A90 #CDC94A #4ACD88
split-complementary
#4A4ECD #CD884A #90CD4A
monochromatic
#22257B #2F33AB #4A4ECD #7A7DDA #AAACE7

Accessibility & contrast

On white

6.44
#4A4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#4A4ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ECD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ECD#FFFFFF#000000##FFFFFF
##4A4ECD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#006E86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #4a4ecd;
/* rgb */ color: rgb(74, 78, 205);
/* oklch */ color: oklch(49.9% 0.192 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b80dd',
    500: '#4a4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ecd;
$custom-light: #8b80dd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ecd",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 238.168,
    "s": 56.71,
    "l": 54.706
  },
  "oklch": {
    "l": 0.49883,
    "c": 0.19215,
    "h": 275.6
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#4A4ECD
secondary
#D5D39E
accent
#DB48E0
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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