#4A4EFF#4A4EFF

#4A4EFF is a mid, highly saturated blue. Relative luminance 0.141; OKLCH L 54.3% C 0.254 H 273.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#4A4EFF
RGBrgb(74, 78, 255)
HSLhsl(239, 100%, 65%)
HSVhsv(239, 71%, 100%)
CMYKcmyk(71%, 69.4%, 0%, 0%)
CIE-LABlab(44.41, 53.85, -87.67)
CIE-LCHlch(44.41, 102.89, 301.56°)
OKLaboklab(54.33% 0.0137 -0.2536)
OKLCHoklch(54.33% 0.254 273.1)
XYZxyz(23.5924, 14.1223, 96.0709)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4EFF #FFFB4A
analogous
#4AA9FF #4A4EFF #A14AFF
triadic
#4A4EFF #FF4A4E #4EFF4A
tetradic
#4A4EFF #FF4AA9 #FFFB4A #4AFFA1
square
#4A4EFF #FF4AA9 #FFFB4A #4AFFA1
split-complementary
#4A4EFF #FFA14A #A9FF4A
monochromatic
#0005CF #0D12FF #4A4EFF #878AFF #C4C6FF

Accessibility & contrast

On white

5.49
#4A4EFF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#4A4EFF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4EFF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4EFF#FFFFFF#000000##FFFFFF
##4A4EFF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072FF
Deuteranopia (green-blind)
#0060FC
Tritanopia (blue-blind)
#007FA1
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #4a4eff;
/* rgb */ color: rgb(74, 78, 255);
/* oklch */ color: oklch(54.3% 0.254 273.1);
Tailwind
colors: {
  custom: {
    50: '#9581ff',
    500: '#4a4eff',
    950: '#000000',
  },
}
SCSS
$custom: #4a4eff;
$custom-light: #9581ff;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4eff",
  "rgb": {
    "r": 74,
    "g": 78,
    "b": 255
  },
  "hsl": {
    "h": 238.674,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.54328,
    "c": 0.25395,
    "h": 273.1
  },
  "luminance": 0.14125
}

Semantic roles & 50–950 ramp

primary
#4A4EFF
secondary
#F2F0B3
accent
#E000E6
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#0F0A18
muted
#7F7C86

Preview Lab

Preview with #4A4EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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