#4A4FA0#4A4FA0

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

Color values

HEX#4A4FA0
RGBrgb(74, 79, 160)
HSLhsl(237, 37%, 46%)
HSVhsv(237, 54%, 63%)
CMYKcmyk(53.7%, 50.6%, 0%, 37.3%)
CIE-LABlab(37.09, 21.75, -44.78)
CIE-LCHlch(37.09, 49.78, 295.91°)
OKLaboklab(46.61% 0.0168 -0.1277)
OKLCHoklch(46.61% 0.129 277.5)
XYZxyz(11.9632, 9.5851, 34.4706)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FA0 #A09B4A
analogous
#4A7AA0 #4A4FA0 #704AA0
triadic
#4A4FA0 #A04A4F #4FA04A
tetradic
#4A4FA0 #A04A7A #A09B4A #4AA070
square
#4A4FA0 #A04A7A #A09B4A #4AA070
split-complementary
#4A4FA0 #A0704A #7AA04A
monochromatic
#23264C #373A76 #4A4FA0 #6C71BB #9699CE

Accessibility & contrast

On white

7.20
#4A4FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A4FA0
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FA0#FFFFFF#000000##FFFFFF
##4A4FA01.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275BA3
Deuteranopia (green-blind)
#1D549E
Tritanopia (blue-blind)
#236170
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #4a4fa0;
/* rgb */ color: rgb(74, 79, 160);
/* oklch */ color: oklch(46.6% 0.129 277.5);
Tailwind
colors: {
  custom: {
    50: '#8380bd',
    500: '#4a4fa0',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fa0;
$custom-light: #8380bd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fa0",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 160
  },
  "hsl": {
    "h": 236.512,
    "s": 36.752,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46612,
    "c": 0.12883,
    "h": 277.5
  },
  "luminance": 0.09586
}

Semantic roles & 50–950 ramp

primary
#4A4FA0
secondary
#BBB88B
accent
#C65BCD
background
#F8F7FB
surface
#EFEEF6
border
#CAC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4A4FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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