#4A4ECC#4A4ECC

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

Color values

HEX#4A4ECC
RGBrgb(74, 78, 204)
HSLhsl(238, 56%, 55%)
HSVhsv(238, 64%, 80%)
CMYKcmyk(63.7%, 61.8%, 0%, 20%)
CIE-LABlab(40.02, 37.14, -65.93)
CIE-LCHlch(40.02, 75.67, 299.39°)
OKLaboklab(49.8% 0.0186 -0.1899)
OKLCHoklch(49.8% 0.191 275.6)
XYZxyz(16.4439, 11.2629, 58.4224)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4ECC #CCC84A
analogous
#4A8FCC #4A4ECC #874ACC
triadic
#4A4ECC #CC4A4E #4ECC4A
tetradic
#4A4ECC #CC4A8F #CCC84A #4ACC87
square
#4A4ECC #CC4A8F #CCC84A #4ACC87
split-complementary
#4A4ECC #CC874A #8FCC4A
monochromatic
#222579 #3033A9 #4A4ECC #7A7DD9 #A9ABE7

Accessibility & contrast

On white

6.46
#4A4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#4A4ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4ECC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4ECC#FFFFFF#000000##FFFFFF
##4A4ECC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a4ecc;
/* rgb */ color: rgb(74, 78, 204);
/* oklch */ color: oklch(49.8% 0.191 275.6);
Tailwind
colors: {
  custom: {
    50: '#8b80dc',
    500: '#4a4ecc',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ecc;
$custom-light: #8b80dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ecc",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 204
  },
  "hsl": {
    "h": 238.154,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.498,
    "c": 0.19085,
    "h": 275.6
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#4A4ECC
secondary
#D4D39D
accent
#DB48DF
background
#F9F7FD
surface
#F1EEFB
border
#CBC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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