#4A4792#4A4792

#4A4792 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 44.0% C 0.120 H 282.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#4A4792
RGBrgb(74, 71, 146)
HSLhsl(242, 35%, 43%)
HSVhsv(242, 51%, 57%)
CMYKcmyk(49.3%, 51.4%, 0%, 42.7%)
CIE-LABlab(34.06, 22.33, -41.17)
CIE-LCHlch(34.06, 46.84, 298.47°)
OKLaboklab(44.04% 0.0251 -0.1172)
OKLCHoklch(44.04% 0.12 282.1)
XYZxyz(10.2640, 8.0371, 28.1990)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A4792 #8F9247
analogous
#476992 #4A4792 #6F4792
triadic
#4A4792 #924A47 #47924A
tetradic
#4A4792 #924769 #8F9247 #47926F
square
#4A4792 #924769 #8F9247 #47926F
split-complementary
#4A4792 #926F47 #699247
monochromatic
#201F40 #353369 #4A4792 #6663B3 #8F8CC7

Accessibility & contrast

On white

8.05
#4A4792 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#4A4792 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A4792
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A4792#FFFFFF#000000##FFFFFF
##4A47921.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245395
Deuteranopia (green-blind)
#1F4D90
Tritanopia (blue-blind)
#305765
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a4792;
/* rgb */ color: rgb(74, 71, 146);
/* oklch */ color: oklch(44.0% 0.120 282.1);
Tailwind
colors: {
  custom: {
    50: '#827ab2',
    500: '#4a4792',
    950: '#000000',
  },
}
SCSS
$custom: #4a4792;
$custom-light: #827ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a4792",
  "rgb": {
    "r": 74,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 242.4,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44042,
    "c": 0.11985,
    "h": 282.1
  },
  "luminance": 0.08038
}

Semantic roles & 50–950 ramp

primary
#4A4792
secondary
#B1B382
accent
#CB5DC6
background
#F8F7FB
surface
#EFEDF6
border
#CAC8D0
text
#0B0911
muted
#7C7B80

Preview Lab

Preview with #4A4792

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

Preview Lab → · Contrast checker → · Palette generator →

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