#4A34C4#4A34C4

#4A34C4 is a mid, highly saturated blue. Relative luminance 0.079; OKLCH L 45.1% C 0.210 H 280.8°. Best body text is #FFFFFF at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#4A34C4
RGBrgb(74, 52, 196)
HSLhsl(249, 58%, 49%)
HSVhsv(249, 73%, 77%)
CMYKcmyk(62.2%, 73.5%, 0%, 23.1%)
CIE-LABlab(33.77, 49.63, -71.52)
CIE-LCHlch(33.77, 87.06, 304.76°)
OKLaboklab(45.07% 0.0394 -0.2063)
OKLCHoklch(45.07% 0.21 280.8)
XYZxyz(14.0127, 7.8963, 52.9996)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34C4 #AEC434
analogous
#3466C4 #4A34C4 #9234C4
triadic
#4A34C4 #C44A34 #34C44A
tetradic
#4A34C4 #C43466 #AEC434 #34C492
square
#4A34C4 #C43466 #AEC434 #34C492
split-complementary
#4A34C4 #C49234 #66C434
monochromatic
#251A63 #382794 #4A34C4 #7260D5 #9D91E2

Accessibility & contrast

On white

8.14
#4A34C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#4A34C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34C4
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34C4#FFFFFF#000000##FFFFFF
##4A34C41.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C8
Deuteranopia (green-blind)
#004AC1
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #4a34c4;
/* rgb */ color: rgb(74, 52, 196);
/* oklch */ color: oklch(45.1% 0.210 280.8);
Tailwind
colors: {
  custom: {
    50: '#8b6ed7',
    500: '#4a34c4',
    950: '#000000',
  },
}
SCSS
$custom: #4a34c4;
$custom-light: #8b6ed7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34c4",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 196
  },
  "hsl": {
    "h": 249.167,
    "s": 58.065,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45072,
    "c": 0.21004,
    "h": 280.8
  },
  "luminance": 0.07897
}

Semantic roles & 50–950 ramp

primary
#4A34C4
secondary
#C2CC87
accent
#E147CA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #4A34C4

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

Preview Lab → · Contrast checker → · Palette generator →

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