#4C34CA#4C34CA

#4C34CA is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.8% C 0.217 H 280.8°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#4C34CA
RGBrgb(76, 52, 202)
HSLhsl(250, 59%, 50%)
HSVhsv(250, 74%, 79%)
CMYKcmyk(62.4%, 74.3%, 0%, 20.8%)
CIE-LABlab(34.51, 51.68, -73.80)
CIE-LCHlch(34.51, 90.09, 305.00°)
OKLaboklab(45.81% 0.0408 -0.2129)
OKLCHoklch(45.81% 0.217 280.8)
XYZxyz(14.8658, 8.2556, 56.6758)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C34CA #B2CA34
analogous
#3467CA #4C34CA #9734CA
triadic
#4C34CA #CA4C34 #34CA4C
tetradic
#4C34CA #CA3467 #B2CA34 #34CA97
square
#4C34CA #CA3467 #B2CA34 #34CA97
split-complementary
#4C34CA #CA9734 #67CA34
monochromatic
#271B69 #3A2799 #4C34CA #7664D7 #A195E4

Accessibility & contrast

On white

7.92
#4C34CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4C34CA
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C34CA#FFFFFF#000000##FFFFFF
##4C34CA1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4c34ca;
/* rgb */ color: rgb(76, 52, 202);
/* oklch */ color: oklch(45.8% 0.217 280.8);
Tailwind
colors: {
  custom: {
    50: '#8d6fdb',
    500: '#4c34ca',
    950: '#000000',
  },
}
SCSS
$custom: #4c34ca;
$custom-light: #8d6fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c34ca",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 202
  },
  "hsl": {
    "h": 249.6,
    "s": 59.055,
    "l": 49.804
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.21678,
    "h": 280.8
  },
  "luminance": 0.08257
}

Semantic roles & 50–950 ramp

primary
#4C34CA
secondary
#C4CF8B
accent
#E246C9
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C34CA

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

Preview Lab → · Contrast checker → · Palette generator →

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