#4A4FA1#4A4FA1

#4A4FA1 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.130 H 277.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#4A4FA1
RGBrgb(74, 79, 161)
HSLhsl(237, 37%, 46%)
HSVhsv(237, 54%, 63%)
CMYKcmyk(54%, 50.9%, 0%, 36.9%)
CIE-LABlab(37.15, 22.08, -45.27)
CIE-LCHlch(37.15, 50.37, 296.00°)
OKLaboklab(46.68% 0.0169 -0.1292)
OKLCHoklch(46.68% 0.13 277.5)
XYZxyz(12.0510, 9.6203, 34.9332)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FA1 #A19C4A
analogous
#4A7AA1 #4A4FA1 #704AA1
triadic
#4A4FA1 #A14A4F #4FA14A
tetradic
#4A4FA1 #A14A7A #A19C4A #4AA170
square
#4A4FA1 #A14A7A #A19C4A #4AA170
split-complementary
#4A4FA1 #A1704A #7AA14A
monochromatic
#23264D #373A77 #4A4FA1 #6D71BC #969ACF

Accessibility & contrast

On white

7.18
#4A4FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#4A4FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4FA1
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FA1#FFFFFF#000000##FFFFFF
##4A4FA11.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265BA4
Deuteranopia (green-blind)
#1B549F
Tritanopia (blue-blind)
#226170
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a4fa1;
/* rgb */ color: rgb(74, 79, 161);
/* oklch */ color: oklch(46.7% 0.130 277.5);
Tailwind
colors: {
  custom: {
    50: '#8380bd',
    500: '#4a4fa1',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fa1;
$custom-light: #8380bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fa1",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 161
  },
  "hsl": {
    "h": 236.552,
    "s": 37.021,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46681,
    "c": 0.13028,
    "h": 277.5
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#4A4FA1
secondary
#BBB88C
accent
#C65BCD
background
#F8F7FB
surface
#EFEEF7
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4A4FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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