#4A4FD5#4A4FD5

#4A4FD5 is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 50.7% C 0.201 H 274.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#4A4FD5
RGBrgb(74, 79, 213)
HSLhsl(238, 62%, 56%)
HSVhsv(238, 65%, 84%)
CMYKcmyk(65.3%, 62.9%, 0%, 16.5%)
CIE-LABlab(40.98, 39.54, -69.56)
CIE-LCHlch(40.98, 80.01, 299.62°)
OKLaboklab(50.73% 0.0173 -0.2006)
OKLCHoklch(50.73% 0.201 274.9)
XYZxyz(17.6263, 11.8504, 64.2964)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FD5 #D5D04A
analogous
#4A95D5 #4A4FD5 #8B4AD5
triadic
#4A4FD5 #D54A4F #4FD54A
tetradic
#4A4FD5 #D54A95 #D5D04A #4AD58B
square
#4A4FD5 #D54A95 #D5D04A #4AD58B
split-complementary
#4A4FD5 #D58B4A #95D54A
monochromatic
#1F2386 #2B30B7 #4A4FD5 #7C7FE1 #ADB0EC

Accessibility & contrast

On white

6.23
#4A4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#4A4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FD5
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FD5#FFFFFF#000000##FFFFFF
##4A4FD51.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005AD2
Tritanopia (blue-blind)
#00718B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #4a4fd5;
/* rgb */ color: rgb(74, 79, 213);
/* oklch */ color: oklch(50.7% 0.201 274.9);
Tailwind
colors: {
  custom: {
    50: '#8c80e3',
    500: '#4a4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fd5;
$custom-light: #8c80e3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fd5",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 237.842,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50727,
    "c": 0.20131,
    "h": 274.9
  },
  "luminance": 0.11852
}

Semantic roles & 50–950 ramp

primary
#4A4FD5
secondary
#DAD8A1
accent
#E042E5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0D0A16
muted
#7E7C84

Preview Lab

Preview with #4A4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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