#4C34CC#4C34CC

#4C34CC is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.0% C 0.219 H 280.6°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#4C34CC
RGBrgb(76, 52, 204)
HSLhsl(249, 60%, 50%)
HSVhsv(249, 75%, 80%)
CMYKcmyk(62.7%, 74.5%, 0%, 20%)
CIE-LABlab(34.70, 52.28, -74.64)
CIE-LCHlch(34.70, 91.13, 305.01°)
OKLaboklab(46.01% 0.0403 -0.2154)
OKLCHoklch(46.01% 0.219 280.6)
XYZxyz(15.1041, 8.3510, 57.9310)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C34CC #B4CC34
analogous
#3468CC #4C34CC #9834CC
triadic
#4C34CC #CC4C34 #34CC4C
tetradic
#4C34CC #CC3468 #B4CC34 #34CC98
square
#4C34CC #CC3468 #B4CC34 #34CC98
split-complementary
#4C34CC #CC9834 #68CC34
monochromatic
#271B6B #3A279C #4C34CC #7765D8 #A296E5

Accessibility & contrast

On white

7.86
#4C34CC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#4C34CC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C34CC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C34CC#FFFFFF#000000##FFFFFF
##4C34CC1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057D0
Deuteranopia (green-blind)
#004CC9
Tritanopia (blue-blind)
#005F7E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #4c34cc;
/* rgb */ color: rgb(76, 52, 204);
/* oklch */ color: oklch(46.0% 0.219 280.6);
Tailwind
colors: {
  custom: {
    50: '#8e6fdd',
    500: '#4c34cc',
    950: '#000000',
  },
}
SCSS
$custom: #4c34cc;
$custom-light: #8e6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#4c34cc",
  "rgb": {
    "r": 76,
    "g": 52,
    "b": 204
  },
  "hsl": {
    "h": 249.474,
    "s": 59.843,
    "l": 50.196
  },
  "oklch": {
    "l": 0.46008,
    "c": 0.21912,
    "h": 280.6
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#4C34CC
secondary
#C5D08C
accent
#E345CA
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4C34CC

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

Preview Lab → · Contrast checker → · Palette generator →

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