#4A4CEB#4A4CEB

#4A4CEB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.2% C 0.232 H 274.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#4A4CEB
RGBrgb(74, 76, 235)
HSLhsl(239, 80%, 61%)
HSVhsv(239, 69%, 92%)
CMYKcmyk(68.5%, 67.7%, 0%, 7.8%)
CIE-LABlab(42.19, 48.56, -80.11)
CIE-LCHlch(42.19, 93.67, 301.22°)
OKLaboklab(52.18% 0.0174 -0.2315)
OKLCHoklch(52.18% 0.232 274.3)
XYZxyz(20.3989, 12.6210, 79.9422)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4CEB #EBE94A
analogous
#4A9CEB #4A4CEB #994AEB
triadic
#4A4CEB #EB4A4C #4CEB4A
tetradic
#4A4CEB #EB4A9C #EBE94A #4AEB99
square
#4A4CEB #EB4A9C #EBE94A #4AEB99
split-complementary
#4A4CEB #EB994A #9CEB4A
monochromatic
#1314A8 #191BDF #4A4CEB #8182F1 #B8B9F7

Accessibility & contrast

On white

5.96
#4A4CEB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#4A4CEB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4CEB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4CEB#FFFFFF#000000##FFFFFF
##4A4CEB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF0
Deuteranopia (green-blind)
#005CE8
Tritanopia (blue-blind)
#007796
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #4a4ceb;
/* rgb */ color: rgb(74, 76, 235);
/* oklch */ color: oklch(52.2% 0.232 274.3);
Tailwind
colors: {
  custom: {
    50: '#917ff3',
    500: '#4a4ceb',
    950: '#000000',
  },
}
SCSS
$custom: #4a4ceb;
$custom-light: #917ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4ceb",
  "rgb": {
    "r": 74,
    "g": 76,
    "b": 235
  },
  "hsl": {
    "h": 239.255,
    "s": 80.1,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52182,
    "c": 0.23212,
    "h": 274.3
  },
  "luminance": 0.12623
}

Semantic roles & 50–950 ramp

primary
#4A4CEB
secondary
#E7E6AA
accent
#DA09DC
background
#F9F7FF
surface
#F2EEFE
border
#CCC9D6
text
#0E0A17
muted
#7E7C85

Preview Lab

Preview with #4A4CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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