#4A4FA9#4A4FA9

#4A4FA9 is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.142 H 277.1°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#4A4FA9
RGBrgb(74, 79, 169)
HSLhsl(237, 39%, 48%)
HSVhsv(237, 56%, 66%)
CMYKcmyk(56.2%, 53.3%, 0%, 33.7%)
CIE-LABlab(37.68, 24.76, -49.20)
CIE-LCHlch(37.68, 55.07, 296.71°)
OKLaboklab(47.25% 0.0175 -0.1407)
OKLCHoklch(47.25% 0.142 277.1)
XYZxyz(12.7792, 9.9115, 38.7681)
Luminance0.0991 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4FA9 #A9A44A
analogous
#4A7FA9 #4A4FA9 #744AA9
triadic
#4A4FA9 #A94A4F #4FA94A
tetradic
#4A4FA9 #A94A7F #A9A44A #4AA974
square
#4A4FA9 #A94A7F #A9A44A #4AA974
split-complementary
#4A4FA9 #A9744A #7FA94A
monochromatic
#252754 #373B7E #4A4FA9 #7074C0 #9A9DD3

Accessibility & contrast

On white

7.04
#4A4FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#4A4FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4FA9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4FA9#FFFFFF#000000##FFFFFF
##4A4FA91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5DAC
Deuteranopia (green-blind)
#0755A7
Tritanopia (blue-blind)
#186374
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #4a4fa9;
/* rgb */ color: rgb(74, 79, 169);
/* oklch */ color: oklch(47.3% 0.142 277.1);
Tailwind
colors: {
  custom: {
    50: '#8480c3',
    500: '#4a4fa9',
    950: '#000000',
  },
}
SCSS
$custom: #4a4fa9;
$custom-light: #8480c3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4fa9",
  "rgb": {
    "r": 74,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 236.842,
    "s": 39.095,
    "l": 47.647
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.14181,
    "h": 277.1
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#4A4FA9
secondary
#BFBD8F
accent
#C959CF
background
#F8F7FC
surface
#F0EEF8
border
#CBC9D1
text
#0C0A12
muted
#7D7C81

Preview Lab

Preview with #4A4FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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