#4A4FD1#4A4FD1

#4A4FD1 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.4% C 0.196 H 275.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#4A4FD1
RGBrgb(74, 79, 209)
HSLhsl(238, 59%, 55%)
HSVhsv(238, 65%, 82%)
CMYKcmyk(64.6%, 62.2%, 0%, 18%)
CIE-LABlab(40.65, 38.20, -67.78)
CIE-LCHlch(40.65, 77.81, 299.41°)
OKLaboklab(50.39% 0.0176 -0.1954)
OKLCHoklch(50.39% 0.196 275.1)
XYZxyz(17.1249, 11.6498, 61.6554)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FD1 #D1CC4A
analogous
#4A92D1 #4A4FD1 #894AD1
triadic
#4A4FD1 #D14A4F #4FD14A
tetradic
#4A4FD1 #D14A92 #D1CC4A #4AD189
square
#4A4FD1 #D14A92 #D1CC4A #4AD189
split-complementary
#4A4FD1 #D1894A #92D14A
monochromatic
#212480 #2D32B1 #4A4FD1 #7B7EDD #ACAEEA

Accessibility & contrast

On white

6.31
#4A4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#4A4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #4A4FD1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FD1#FFFFFF#000000##FFFFFF
##4A4FD11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D5
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#007088
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #4a4fd1;
/* rgb */ color: rgb(74, 79, 209);
/* oklch */ color: oklch(50.4% 0.196 275.1);
Tailwind
colors: {
  custom: {
    50: '#8c80e0',
    500: '#4a4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fd1;
$custom-light: #8c80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fd1",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 237.778,
    "s": 59.471,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5039,
    "c": 0.19615,
    "h": 275.1
  },
  "luminance": 0.11651
}

Semantic roles & 50–950 ramp

primary
#4A4FD1
secondary
#D8D59F
accent
#DD45E3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83

Preview Lab

Preview with #4A4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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