#4A34C5#4A34C5

#4A34C5 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.2% C 0.211 H 280.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#4A34C5
RGBrgb(74, 52, 197)
HSLhsl(249, 58%, 49%)
HSVhsv(249, 74%, 77%)
CMYKcmyk(62.4%, 73.6%, 0%, 22.7%)
CIE-LABlab(33.86, 49.93, -71.95)
CIE-LCHlch(33.86, 87.58, 304.76°)
OKLaboklab(45.17% 0.0392 -0.2076)
OKLCHoklch(45.17% 0.211 280.7)
XYZxyz(14.1269, 7.9420, 53.6010)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34C5 #AFC534
analogous
#3467C5 #4A34C5 #9334C5
triadic
#4A34C5 #C54A34 #34C54A
tetradic
#4A34C5 #C53467 #AFC534 #34C593
square
#4A34C5 #C53467 #AFC534 #34C593
split-complementary
#4A34C5 #C59334 #67C534
monochromatic
#261A64 #382795 #4A34C5 #7361D5 #9E91E2

Accessibility & contrast

On white

8.11
#4A34C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#4A34C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34C5
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34C5#FFFFFF#000000##FFFFFF
##4A34C51.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#004AC2
Tritanopia (blue-blind)
#005D7A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a34c5;
/* rgb */ color: rgb(74, 52, 197);
/* oklch */ color: oklch(45.2% 0.211 280.7);
Tailwind
colors: {
  custom: {
    50: '#8b6ed8',
    500: '#4a34c5',
    950: '#000000',
  },
}
SCSS
$custom: #4a34c5;
$custom-light: #8b6ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34c5",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 197
  },
  "hsl": {
    "h": 249.103,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45169,
    "c": 0.21123,
    "h": 280.7
  },
  "luminance": 0.07943
}

Semantic roles & 50–950 ramp

primary
#4A34C5
secondary
#C2CD88
accent
#E146CA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4A34C5

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

Preview Lab → · Contrast checker → · Palette generator →

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