#4A4FA5#4A4FA5

#4A4FA5 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.136 H 277.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#4A4FA5
RGBrgb(74, 79, 165)
HSLhsl(237, 38%, 47%)
HSVhsv(237, 55%, 65%)
CMYKcmyk(55.2%, 52.1%, 0%, 35.3%)
CIE-LABlab(37.41, 23.42, -47.24)
CIE-LCHlch(37.41, 52.73, 296.37°)
OKLaboklab(46.96% 0.0173 -0.135)
OKLCHoklch(46.96% 0.136 277.3)
XYZxyz(12.4094, 9.7636, 36.8207)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FA5 #A5A04A
analogous
#4A7DA5 #4A4FA5 #734AA5
triadic
#4A4FA5 #A54A4F #4FA54A
tetradic
#4A4FA5 #A54A7D #A5A04A #4AA573
square
#4A4FA5 #A54A7D #A5A04A #4AA573
split-complementary
#4A4FA5 #A5734A #7DA54A
monochromatic
#242750 #373B7B #4A4FA5 #6E73BE #989CD1

Accessibility & contrast

On white

7.11
#4A4FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#4A4FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4FA5
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FA5#FFFFFF#000000##FFFFFF
##4A4FA51.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225CA8
Deuteranopia (green-blind)
#1354A3
Tritanopia (blue-blind)
#1E6272
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a4fa5;
/* rgb */ color: rgb(74, 79, 165);
/* oklch */ color: oklch(47.0% 0.136 277.3);
Tailwind
colors: {
  custom: {
    50: '#8480c0',
    500: '#4a4fa5',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fa5;
$custom-light: #8480c0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fa5",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 165
  },
  "hsl": {
    "h": 236.703,
    "s": 38.075,
    "l": 46.863
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.13607,
    "h": 277.3
  },
  "luminance": 0.09764
}

Semantic roles & 50–950 ramp

primary
#4A4FA5
secondary
#BDBB8E
accent
#C85ACE
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4A4FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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