#4A34CA#4A34CA

#4A34CA is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.7% C 0.217 H 280.1°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#4A34CA
RGBrgb(74, 52, 202)
HSLhsl(249, 59%, 50%)
HSVhsv(249, 74%, 79%)
CMYKcmyk(63.4%, 74.3%, 0%, 20.8%)
CIE-LABlab(34.34, 51.44, -74.07)
CIE-LCHlch(34.34, 90.18, 304.78°)
OKLaboklab(45.66% 0.038 -0.2138)
OKLCHoklch(45.66% 0.217 280.1)
XYZxyz(14.7093, 8.1750, 56.6684)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34CA #B4CA34
analogous
#3469CA #4A34CA #9534CA
triadic
#4A34CA #CA4A34 #34CA4A
tetradic
#4A34CA #CA3469 #B4CA34 #34CA95
square
#4A34CA #CA3469 #B4CA34 #34CA95
split-complementary
#4A34CA #CA9534 #69CA34
monochromatic
#261B69 #382799 #4A34CA #7564D7 #A095E4

Accessibility & contrast

On white

7.97
#4A34CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#4A34CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34CA
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34CA#FFFFFF#000000##FFFFFF
##4A34CA1.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CE
Deuteranopia (green-blind)
#004BC7
Tritanopia (blue-blind)
#005F7D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a34ca;
/* rgb */ color: rgb(74, 52, 202);
/* oklch */ color: oklch(45.7% 0.217 280.1);
Tailwind
colors: {
  custom: {
    50: '#8c6fdb',
    500: '#4a34ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a34ca;
$custom-light: #8c6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34ca",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 248.8,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45655,
    "c": 0.21714,
    "h": 280.1
  },
  "luminance": 0.08176
}

Semantic roles & 50–950 ramp

primary
#4A34CA
secondary
#C5CF8B
accent
#E246CB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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