#4A34C7#4A34C7

#4A34C7 is a mid, highly saturated blue. Relative luminance 0.080; OKLCH L 45.4% C 0.214 H 280.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#4A34C7
RGBrgb(74, 52, 199)
HSLhsl(249, 59%, 49%)
HSVhsv(249, 74%, 78%)
CMYKcmyk(62.8%, 73.9%, 0%, 22%)
CIE-LABlab(34.05, 50.54, -72.80)
CIE-LCHlch(34.05, 88.62, 304.77°)
OKLaboklab(45.36% 0.0387 -0.2101)
OKLCHoklch(45.36% 0.214 280.4)
XYZxyz(14.3576, 8.0343, 54.8159)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34C7 #B1C734
analogous
#3467C7 #4A34C7 #9434C7
triadic
#4A34C7 #C74A34 #34C74A
tetradic
#4A34C7 #C73467 #B1C734 #34C794
square
#4A34C7 #C73467 #B1C734 #34C794
split-complementary
#4A34C7 #C79434 #67C734
monochromatic
#261B66 #382796 #4A34C7 #7462D6 #9F93E3

Accessibility & contrast

On white

8.06
#4A34C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A34C7
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34C7#FFFFFF#000000##FFFFFF
##4A34C71.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055CB
Deuteranopia (green-blind)
#004AC4
Tritanopia (blue-blind)
#005E7B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4a34c7;
/* rgb */ color: rgb(74, 52, 199);
/* oklch */ color: oklch(45.4% 0.214 280.4);
Tailwind
colors: {
  custom: {
    50: '#8c6ed9',
    500: '#4a34c7',
    950: '#000000',
  },
}
SCSS
$custom: #4a34c7;
$custom-light: #8c6ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34c7",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 248.98,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.45363,
    "c": 0.2136,
    "h": 280.4
  },
  "luminance": 0.08035
}

Semantic roles & 50–950 ramp

primary
#4A34C7
secondary
#C3CE89
accent
#E246CA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4A34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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