#4A4FA2#4A4FA2

#4A4FA2 is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.8% C 0.132 H 277.4°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#4A4FA2
RGBrgb(74, 79, 162)
HSLhsl(237, 37%, 46%)
HSVhsv(237, 54%, 64%)
CMYKcmyk(54.3%, 51.2%, 0%, 36.5%)
CIE-LABlab(37.22, 22.42, -45.77)
CIE-LCHlch(37.22, 50.96, 296.09°)
OKLaboklab(46.75% 0.017 -0.1306)
OKLCHoklch(46.75% 0.132 277.4)
XYZxyz(12.1396, 9.6557, 35.3995)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FA2 #A29D4A
analogous
#4A7BA2 #4A4FA2 #714AA2
triadic
#4A4FA2 #A24A4F #4FA24A
tetradic
#4A4FA2 #A24A7B #A29D4A #4AA271
square
#4A4FA2 #A24A7B #A29D4A #4AA271
split-complementary
#4A4FA2 #A2714A #7BA24A
monochromatic
#24264E #373B78 #4A4FA2 #6D71BC #979ACF

Accessibility & contrast

On white

7.16
#4A4FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#4A4FA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4FA2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FA2#FFFFFF#000000##FFFFFF
##4A4FA21.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255BA5
Deuteranopia (green-blind)
#1A54A0
Tritanopia (blue-blind)
#216171
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #4a4fa2;
/* rgb */ color: rgb(74, 79, 162);
/* oklch */ color: oklch(46.8% 0.132 277.4);
Tailwind
colors: {
  custom: {
    50: '#8380be',
    500: '#4a4fa2',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fa2;
$custom-light: #8380be;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fa2",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 236.591,
    "s": 37.288,
    "l": 46.275
  },
  "oklch": {
    "l": 0.46751,
    "c": 0.13173,
    "h": 277.4
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#4A4FA2
secondary
#BCB98C
accent
#C75BCD
background
#F8F7FB
surface
#F0EEF7
border
#CBC9D0
text
#0B0A12
muted
#7C7C81

Preview Lab

Preview with #4A4FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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