#4A34CC#4A34CC

#4A34CC is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.9% C 0.219 H 279.9°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#4A34CC
RGBrgb(74, 52, 204)
HSLhsl(249, 60%, 50%)
HSVhsv(249, 75%, 80%)
CMYKcmyk(63.7%, 74.5%, 0%, 20%)
CIE-LABlab(34.54, 52.04, -74.92)
CIE-LCHlch(34.54, 91.22, 304.79°)
OKLaboklab(45.85% 0.0376 -0.2162)
OKLCHoklch(45.85% 0.219 279.9)
XYZxyz(14.9476, 8.2703, 57.9237)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A34CC #B6CC34
analogous
#346ACC #4A34CC #9634CC
triadic
#4A34CC #CC4A34 #34CC4A
tetradic
#4A34CC #CC346A #B6CC34 #34CC96
square
#4A34CC #CC346A #B6CC34 #34CC96
split-complementary
#4A34CC #CC9634 #6ACC34
monochromatic
#261B6B #38279C #4A34CC #7665D8 #A196E5

Accessibility & contrast

On white

7.91
#4A34CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#4A34CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A34CC
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A34CC#FFFFFF#000000##FFFFFF
##4A34CC1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004BC9
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #4a34cc;
/* rgb */ color: rgb(74, 52, 204);
/* oklch */ color: oklch(45.9% 0.219 279.9);
Tailwind
colors: {
  custom: {
    50: '#8d6fdd',
    500: '#4a34cc',
    950: '#000000',
  },
}
SCSS
$custom: #4a34cc;
$custom-light: #8d6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a34cc",
  "rgb": {
    "r": 74,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 248.684,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.45851,
    "c": 0.21948,
    "h": 279.9
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

primary
#4A34CC
secondary
#C6D08C
accent
#E345CC
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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